Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004214/0.004214, allocations: 100.6 kB / 15.73 MB, free: 6.062 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.001183/0.001184, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7835/0.7835, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 75.67 kB / 0.5809 GB, free: 24.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1247, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005428/0.1301, allocations: 4.109 MB / 0.6632 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4062/0.5363, allocations: 150.5 MB / 0.8101 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005487/0.5369, allocations: 18.53 kB / 0.8102 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.5374, allocations: 165.5 kB / 0.8103 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.5386, allocations: 487.2 kB / 0.8108 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.5399, allocations: 0.7884 MB / 0.8115 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007988/0.5407, allocations: 1.193 MB / 0.8127 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006796/0.5414, allocations: 0.6052 MB / 0.8133 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003735/0.5417, allocations: 429.5 kB / 0.8137 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.5422, allocations: 451 kB / 0.8141 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.5423, allocations: 103.5 kB / 0.8142 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005687/0.5429, allocations: 478.2 kB / 0.8147 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.5431, allocations: 272.1 kB / 0.815 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.5434, allocations: 497.5 kB / 0.8154 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.5447, allocations: 1.493 MB / 0.8169 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.5447, allocations: 0 / 0.8169 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.143e-06/0.5447, allocations: 4 kB / 0.8169 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.5447, allocations: 0 / 0.8169 GB, free: 9.844 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001889/0.5466, allocations: 1.361 MB / 0.8182 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.5467, allocations: 10 kB / 0.8182 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.5468, allocations: 129.6 kB / 0.8184 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008111/0.5476, allocations: 187 kB / 0.8185 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009354/0.5485, allocations: 0.7344 MB / 0.8193 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.5486, allocations: 57.34 kB / 0.8193 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/0.5487, allocations: 82.17 kB / 0.8194 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.55, allocations: 0.8587 MB / 0.8202 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.55, allocations: 0 / 0.8202 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-05/0.5501, allocations: 38.61 kB / 0.8203 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.5501, allocations: 17.34 kB / 0.8203 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.5516, allocations: 1.062 MB / 0.8213 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.5548, allocations: 2.349 MB / 0.8236 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.556, allocations: 0.7948 MB / 0.8244 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/0.5565, allocations: 275.5 kB / 0.8246 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.5566, allocations: 34.56 kB / 0.8247 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006751/0.5572, allocations: 420.1 kB / 0.8251 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 1.774e-06/0.5572, allocations: 0 / 0.8251 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72): time 0.002642/0.5599, allocations: 1.087 MB / 0.8261 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.56, allocations: 196.2 kB / 0.8263 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/0.5606, allocations: 0.5835 MB / 0.8269 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.5607, allocations: 43.08 kB / 0.8269 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.561, allocations: 382.3 kB / 0.8273 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.5612, allocations: 248.7 kB / 0.8275 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.5614, allocations: 136.3 kB / 0.8277 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5615, allocations: 377.9 kB / 0.828 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.5619, allocations: 217.6 kB / 0.8282 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.5625, allocations: 317.7 kB / 0.8285 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009017/0.5634, allocations: 0.5293 MB / 0.8291 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5634, allocations: 0 / 0.8291 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001563/0.5649, allocations: 0.7148 MB / 0.8298 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.565, allocations: 9.594 kB / 0.8298 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.565, allocations: 4.75 kB / 0.8298 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000555/0.5655, allocations: 80.11 kB / 0.8298 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/0.5661, allocations: 146.6 kB / 0.83 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.568, allocations: 1.63 MB / 0.8316 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.5685, allocations: 70.14 kB / 0.8316 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.5686, allocations: 26.05 kB / 0.8317 GB, free: 15.54 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (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 (75): * Single equations (assignments): 74 * 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.0002942/0.5689, allocations: 245.2 kB / 0.8319 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.569, allocations: 85.09 kB / 0.832 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.5711, allocations: 1.006 MB / 0.833 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5711, allocations: 9.75 kB / 0.833 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.5711, allocations: 0 / 0.833 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.5711, allocations: 3.984 kB / 0.833 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.5739, allocations: 1.861 MB / 0.8348 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.5739, allocations: 3.938 kB / 0.8348 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.5744, allocations: 147 kB / 0.8349 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000408/0.5748, allocations: 70.17 kB / 0.835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.5749, allocations: 19.95 kB / 0.835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.5767, allocations: 1.661 MB / 0.8367 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5767, allocations: 0 / 0.8367 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.5784, allocations: 0.9276 MB / 0.8376 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.5787, allocations: 263.6 kB / 0.8378 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.573e-05/0.5788, allocations: 18.75 kB / 0.8378 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/0.5793, allocations: 54.66 kB / 0.8379 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.5794, allocations: 62.78 kB / 0.8379 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/0.5795, allocations: 34.83 kB / 0.838 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004436/0.5799, allocations: 428.7 kB / 0.8384 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5799, allocations: 0 / 0.8384 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000603/0.5806, allocations: 285.9 kB / 0.8387 GB, free: 10.59 MB / 0.6075 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 (86): * Single equations (assignments): 83 * 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.003537/0.5841, allocations: 1.966 MB / 0.8406 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.5854, allocations: 0.7242 MB / 0.8413 GB, free: 9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5854, allocations: 0 / 0.8413 GB, free: 9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000789/0.5862, allocations: 493.5 kB / 0.8418 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.5873, allocations: 300.6 kB / 0.842 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009401/0.5967, allocations: 5.893 MB / 0.8478 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/0.5973, allocations: 1.003 MB / 0.8488 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000632/0.598, allocations: 250.1 kB / 0.849 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/0.5985, allocations: 343.3 kB / 0.8493 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.5985, allocations: 0 / 0.8493 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5915/1.19, allocations: 19.91 MB / 0.8688 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.58, allocations: 11.66 kB / 0.8688 GB, free: 13.64 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)