Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_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.004588/0.004588, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.001237/0.001237, allocations: 198.8 kB / 16.68 MB, free: 5.969 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9945/0.9945, allocations: 135.2 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 71.88 kB / 0.5852 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3765, allocations: 80.93 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004454/0.381, allocations: 4.117 MB / 0.6682 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1763/0.5573, allocations: 150.5 MB / 0.8152 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006828/0.558, allocations: 23.88 kB / 0.8152 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.5586, allocations: 162.5 kB / 0.8153 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.5601, allocations: 479.9 kB / 0.8158 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.5618, allocations: 0.7963 MB / 0.8166 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.5631, allocations: 1.195 MB / 0.8177 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008422/0.5639, allocations: 0.6144 MB / 0.8183 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005227/0.5645, allocations: 430.5 kB / 0.8188 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005166/0.565, allocations: 452 kB / 0.8192 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.5651, allocations: 100 kB / 0.8193 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008461/0.566, allocations: 479.6 kB / 0.8197 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.5663, allocations: 271.1 kB / 0.82 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004414/0.5667, allocations: 0.4896 MB / 0.8205 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.5684, allocations: 1.484 MB / 0.8219 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5684, allocations: 3.938 kB / 0.8219 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5684, allocations: 0 / 0.8219 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.5684, allocations: 0 / 0.8219 GB, free: 15.45 MB / 0.6544 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.00209/0.5705, allocations: 1.363 MB / 0.8233 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5706, allocations: 8.031 kB / 0.8233 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/0.5707, allocations: 131.1 kB / 0.8234 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008241/0.5715, allocations: 184.1 kB / 0.8236 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.5726, allocations: 0.7387 MB / 0.8243 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/0.5726, allocations: 65.94 kB / 0.8244 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.835e-05/0.5728, allocations: 72 kB / 0.8244 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.5742, allocations: 0.8676 MB / 0.8253 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.5743, allocations: 0 / 0.8253 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.5744, allocations: 32 kB / 0.8253 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.5744, allocations: 27.94 kB / 0.8253 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.5761, allocations: 1.061 MB / 0.8264 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/0.5797, allocations: 2.352 MB / 0.8287 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.5811, allocations: 0.789 MB / 0.8294 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.5816, allocations: 274.4 kB / 0.8297 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.623e-05/0.5816, allocations: 32.58 kB / 0.8297 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007575/0.5824, allocations: 427.1 kB / 0.8301 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 3.928e-06/0.5824, allocations: 0 / 0.8301 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.002798/0.5852, allocations: 1.078 MB / 0.8312 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.5854, allocations: 192.6 kB / 0.8314 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/0.5861, allocations: 0.5784 MB / 0.8319 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/0.5862, allocations: 45.69 kB / 0.832 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.5865, allocations: 380.9 kB / 0.8323 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.5867, allocations: 253.8 kB / 0.8326 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.5869, allocations: 126.3 kB / 0.8327 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.5871, allocations: 382.7 kB / 0.8331 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.5875, allocations: 217.2 kB / 0.8333 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.5881, allocations: 318.8 kB / 0.8336 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009949/0.5891, allocations: 0.5315 MB / 0.8341 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5891, allocations: 0 / 0.8341 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001687/0.5908, allocations: 0.7201 MB / 0.8348 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5908, allocations: 4 kB / 0.8348 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5909, allocations: 7.984 kB / 0.8348 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005509/0.5914, allocations: 84.81 kB / 0.8349 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.592, allocations: 135.8 kB / 0.835 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.5942, allocations: 1.627 MB / 0.8366 GB, free: 15.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.5947, allocations: 83.62 kB / 0.8367 GB, free: 15.78 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.5948, allocations: 23.98 kB / 0.8367 GB, free: 15.75 MB / 0.67 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.0003705/0.5951, allocations: 249.6 kB / 0.8369 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.5953, allocations: 83.45 kB / 0.837 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.5976, allocations: 0.9941 MB / 0.838 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.5976, allocations: 8 kB / 0.838 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.5976, allocations: 0 / 0.838 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.5976, allocations: 3.984 kB / 0.838 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/0.6007, allocations: 1.87 MB / 0.8398 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6008, allocations: 3.984 kB / 0.8398 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/0.6013, allocations: 147.8 kB / 0.84 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004218/0.6018, allocations: 68.8 kB / 0.84 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.6018, allocations: 27.97 kB / 0.8401 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.6038, allocations: 1.646 MB / 0.8417 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6038, allocations: 4 kB / 0.8417 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.6057, allocations: 0.9243 MB / 0.8426 GB, free: 9.484 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.606, allocations: 260.2 kB / 0.8428 GB, free: 9.211 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/0.6061, allocations: 20 kB / 0.8429 GB, free: 9.191 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005345/0.6067, allocations: 51.94 kB / 0.8429 GB, free: 9.141 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.6068, allocations: 56.92 kB / 0.843 GB, free: 9.086 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.6069, allocations: 31.98 kB / 0.843 GB, free: 9.055 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005289/0.6074, allocations: 435 kB / 0.8434 GB, free: 8.637 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6074, allocations: 0 / 0.8434 GB, free: 8.637 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007409/0.6081, allocations: 291.2 kB / 0.8437 GB, free: 8.352 MB / 0.67 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.003812/0.612, allocations: 1.967 MB / 0.8456 GB, free: 6.535 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.6134, allocations: 0.7238 MB / 0.8463 GB, free: 5.801 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6134, allocations: 0 / 0.8463 GB, free: 5.801 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008831/0.6143, allocations: 0.4887 MB / 0.8468 GB, free: 5.301 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.6155, allocations: 283.4 kB / 0.8471 GB, free: 5.039 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.6256, allocations: 5.881 MB / 0.8528 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/0.6263, allocations: 0.9993 MB / 0.8538 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007392/0.627, allocations: 254.1 kB / 0.854 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/0.6275, allocations: 347.3 kB / 0.8544 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of SimCode: time 5.52e-07/0.6275, allocations: 0 / 0.8544 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.42/1.048, allocations: 19.92 MB / 0.8738 GB, free: 190 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.75, allocations: 3.641 kB / 0.8738 GB, free: 190 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)