Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 107 kB / 16.37 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 192.9 kB / 17.31 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8148/0.8148, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001216, allocations: 67.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4113, allocations: 80.19 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005613/0.4169, allocations: 4.917 MB / 0.5863 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1563/0.5733, allocations: 150.8 MB / 0.7336 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.5745, allocations: 23.88 kB / 0.7336 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006423/0.5753, allocations: 194.1 kB / 0.7338 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.5772, allocations: 0.5573 MB / 0.7343 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.5793, allocations: 0.9234 MB / 0.7352 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.5809, allocations: 1.561 MB / 0.7367 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.5823, allocations: 1.162 MB / 0.7379 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000808/0.5831, allocations: 0.6773 MB / 0.7385 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007318/0.5838, allocations: 0.7389 MB / 0.7393 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002043/0.584, allocations: 188 kB / 0.7394 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008918/0.5849, allocations: 0.5542 MB / 0.74 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003273/0.5853, allocations: 430.7 kB / 0.7404 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006015/0.5859, allocations: 0.8122 MB / 0.7412 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.5881, allocations: 2.309 MB / 0.7434 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5881, allocations: 0 / 0.7434 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.466e-06/0.5881, allocations: 0 / 0.7434 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.911e-05/0.5881, allocations: 3.938 kB / 0.7434 GB, free: 7.816 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002696/0.5908, allocations: 1.818 MB / 0.7452 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.5908, allocations: 8.031 kB / 0.7452 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009503/0.5918, allocations: 242.8 kB / 0.7455 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.5932, allocations: 0.9111 MB / 0.7463 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.5933, allocations: 140.7 kB / 0.7465 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.5935, allocations: 140 kB / 0.7466 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.5957, allocations: 1.473 MB / 0.7481 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.5957, allocations: 0 / 0.7481 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.5958, allocations: 60 kB / 0.7481 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.5959, allocations: 39.94 kB / 0.7481 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.5981, allocations: 1.494 MB / 0.7496 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3027/0.9008, allocations: 3.878 MB / 0.7534 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.9026, allocations: 0.9023 MB / 0.7543 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006637/0.9033, allocations: 365.3 kB / 0.7546 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.9034, allocations: 41.42 kB / 0.7547 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000986/0.9044, allocations: 0.5424 MB / 0.7552 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 2.685e-06/0.9044, allocations: 2.344 kB / 0.7552 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003722/0.9082, allocations: 1.373 MB / 0.7565 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/0.9082, allocations: 199 kB / 0.7567 GB, free: 164 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.9095, allocations: 0.7632 MB / 0.7575 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/0.9095, allocations: 46.78 kB / 0.7575 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/0.91, allocations: 0.5752 MB / 0.7581 GB, free: 163 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.9102, allocations: 308.3 kB / 0.7584 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003353/0.9105, allocations: 195.8 kB / 0.7586 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.9106, allocations: 339 kB / 0.7589 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007224/0.9113, allocations: 330.5 kB / 0.7592 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008695/0.9122, allocations: 437.4 kB / 0.7596 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.9137, allocations: 0.7657 MB / 0.7604 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.9137, allocations: 3.984 kB / 0.7604 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002421/0.9161, allocations: 1.026 MB / 0.7614 GB, free: 161 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.9161, allocations: 7.844 kB / 0.7614 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.9162, allocations: 0 / 0.7614 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.9167, allocations: 82.72 kB / 0.7615 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008478/0.9176, allocations: 201.9 kB / 0.7616 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.9195, allocations: 1.638 MB / 0.7632 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008434/0.9204, allocations: 115.1 kB / 0.7634 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/0.9205, allocations: 47.02 kB / 0.7634 GB, free: 159.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006407/0.9211, allocations: 316 kB / 0.7637 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.9213, allocations: 97.34 kB / 0.7638 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.924, allocations: 1.293 MB / 0.7651 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.9241, allocations: 10.34 kB / 0.7651 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.9241, allocations: 1.312 kB / 0.7651 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.9241, allocations: 3.984 kB / 0.7651 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/0.9278, allocations: 2.485 MB / 0.7675 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.9278, allocations: 1.156 kB / 0.7675 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/0.9285, allocations: 183.2 kB / 0.7677 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004008/0.9289, allocations: 73.94 kB / 0.7677 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.929, allocations: 24.42 kB / 0.7678 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.9304, allocations: 1.681 MB / 0.7694 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9304, allocations: 0.9375 kB / 0.7694 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.9323, allocations: 1.116 MB / 0.7705 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004423/0.9328, allocations: 311.2 kB / 0.7708 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.9329, allocations: 31.98 kB / 0.7708 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/0.9336, allocations: 68.03 kB / 0.7709 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.9338, allocations: 73.72 kB / 0.771 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.9338, allocations: 41.59 kB / 0.771 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006657/0.9345, allocations: 0.5576 MB / 0.7715 GB, free: 153 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9345, allocations: 4 kB / 0.7715 GB, free: 153 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001137/0.9357, allocations: 399.9 kB / 0.7719 GB, free: 152.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/0.937, allocations: 0.6014 MB / 0.7725 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.9386, allocations: 0.9651 MB / 0.7735 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.9386, allocations: 4.719 kB / 0.7735 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008091/0.9394, allocations: 0.58 MB / 0.774 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.9406, allocations: 306.6 kB / 0.7743 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.9444, allocations: 2.311 MB / 0.7766 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.9448, allocations: 1.169 MB / 0.7777 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007474/0.9456, allocations: 296.2 kB / 0.778 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.9459, allocations: 127.4 kB / 0.7781 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.9459, allocations: 0 / 0.7781 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.02294/0.9688, allocations: 17.2 MB / 0.7949 GB, free: 129.5 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)