Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_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.001076/0.001076, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001324/0.001324, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8899/0.8899, allocations: 135.3 MB / 426.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003007, allocations: 8 kB / 0.5071 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 82.31 MB / 0.5875 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004117/0.1456, allocations: 3.479 MB / 0.5909 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.394/0.5396, allocations: 136.7 MB / 0.7243 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006122/0.5403, allocations: 18.88 kB / 0.7243 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.5407, allocations: 130.2 kB / 0.7245 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.5421, allocations: 383.3 kB / 0.7248 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.5439, allocations: 0.6042 MB / 0.7254 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.5452, allocations: 0.9988 MB / 0.7264 GB, free: 6.719 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007076/0.5459, allocations: 476.7 kB / 0.7268 GB, free: 6.531 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004452/0.5464, allocations: 280.5 kB / 0.7271 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.5468, allocations: 316.8 kB / 0.7274 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.406e-05/0.5469, allocations: 20.62 kB / 0.7274 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007992/0.5477, allocations: 330.9 kB / 0.7277 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.5479, allocations: 164.4 kB / 0.7279 GB, free: 6.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.5481, allocations: 180.5 kB / 0.7281 GB, free: 5.977 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.5493, allocations: 1.072 MB / 0.7291 GB, free: 5.695 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5493, allocations: 0 / 0.7291 GB, free: 5.695 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5493, allocations: 1.062 kB / 0.7291 GB, free: 5.695 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.5493, allocations: 0 / 0.7291 GB, free: 5.695 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001942/0.5513, allocations: 1.132 MB / 0.7302 GB, free: 4.891 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.5513, allocations: 10.17 kB / 0.7302 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.5515, allocations: 129.3 kB / 0.7304 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/0.5524, allocations: 190.6 kB / 0.7305 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.5534, allocations: 0.676 MB / 0.7312 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.5535, allocations: 59.61 kB / 0.7313 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.5536, allocations: 75.3 kB / 0.7313 GB, free: 4.246 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.555, allocations: 0.8533 MB / 0.7322 GB, free: 3.844 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.5551, allocations: 3.938 kB / 0.7322 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.418e-05/0.5552, allocations: 33.98 kB / 0.7322 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.5552, allocations: 18.28 kB / 0.7322 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.5568, allocations: 1.068 MB / 0.7333 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003576/0.5604, allocations: 2.413 MB / 0.7356 GB, free: 2.203 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.5617, allocations: 0.7968 MB / 0.7364 GB, free: 1.832 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004735/0.5622, allocations: 282.1 kB / 0.7367 GB, free: 1.703 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.212e-05/0.5623, allocations: 32.72 kB / 0.7367 GB, free: 1.688 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007118/0.563, allocations: 423.4 kB / 0.7371 GB, free: 1.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=70): time 2.204e-06/0.563, allocations: 4 kB / 0.7371 GB, free: 1.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=70): time 0.002637/0.5656, allocations: 1.072 MB / 0.7381 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/0.5657, allocations: 186.9 kB / 0.7383 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006949/0.5664, allocations: 0.5817 MB / 0.7389 GB, free: 260 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.5665, allocations: 37.14 kB / 0.7389 GB, free: 220 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.5668, allocations: 373.6 kB / 0.7393 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.567, allocations: 236.9 kB / 0.7395 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.567, allocations: 11.38 kB / 0.7395 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.5672, allocations: 373.6 kB / 0.7399 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.5676, allocations: 220.6 kB / 0.7401 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.5681, allocations: 320.3 kB / 0.7404 GB, free: 15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.5686, allocations: 262.3 kB / 0.7406 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5686, allocations: 0 / 0.7406 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001546/0.5701, allocations: 0.7148 MB / 0.7413 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5702, allocations: 6.281 kB / 0.7413 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5702, allocations: 3.984 kB / 0.7414 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005327/0.5707, allocations: 86.48 kB / 0.7414 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/0.5713, allocations: 133.7 kB / 0.7416 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.5733, allocations: 1.532 MB / 0.7431 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.5739, allocations: 83.19 kB / 0.7431 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.574, allocations: 31.16 kB / 0.7432 GB, free: 12.86 MB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004376/0.5744, allocations: 245.4 kB / 0.7434 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.5746, allocations: 75.94 kB / 0.7435 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.5767, allocations: 0.983 MB / 0.7444 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.5767, allocations: 8 kB / 0.7444 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5767, allocations: 0 / 0.7444 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.5768, allocations: 7.922 kB / 0.7445 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.5797, allocations: 1.844 MB / 0.7463 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5797, allocations: 4 kB / 0.7463 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/0.5803, allocations: 139.8 kB / 0.7464 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005336/0.5809, allocations: 84.77 kB / 0.7465 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/0.5809, allocations: 19.98 kB / 0.7465 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.5827, allocations: 1.559 MB / 0.748 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5827, allocations: 0 / 0.748 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.5845, allocations: 0.9025 MB / 0.7489 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.5849, allocations: 271.8 kB / 0.7492 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.585, allocations: 20.06 kB / 0.7492 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/0.5856, allocations: 71.88 kB / 0.7492 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.5857, allocations: 56.92 kB / 0.7493 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.249e-05/0.5857, allocations: 31.98 kB / 0.7493 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005615/0.5863, allocations: 423 kB / 0.7497 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5863, allocations: 0 / 0.7497 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009027/0.5872, allocations: 275.4 kB / 0.75 GB, free: 5.715 MB / 0.5606 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 (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003198/0.5904, allocations: 1.938 MB / 0.7519 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.5919, allocations: 0.7193 MB / 0.7526 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5919, allocations: 0 / 0.7526 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008013/0.5927, allocations: 484.8 kB / 0.753 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.594, allocations: 247.4 kB / 0.7533 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009572/0.6036, allocations: 4.62 MB / 0.7578 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.6042, allocations: 0.9971 MB / 0.7588 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008967/0.6051, allocations: 250 kB / 0.759 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.6056, allocations: 343.3 kB / 0.7593 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.6056, allocations: 0 / 0.7593 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03871/0.6443, allocations: 19.62 MB / 0.7785 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.6446, allocations: 271.9 kB / 0.7788 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/2.877, allocations: 0 / 0.7788 GB, free: 8.598 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: