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.001232/0.001232, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00163/0.00163, allocations: 177.3 kB / 15.95 MB, free: 216 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.368/1.368, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7229/0.7229, allocations: 132.2 MB / 423.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 8 kB / 0.5033 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.595/0.5954, allocations: 81.58 MB / 0.583 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004999/0.6004, allocations: 3.475 MB / 0.5864 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1686/0.7691, allocations: 127.4 MB / 0.7108 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006822/0.7698, allocations: 15.94 kB / 0.7108 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.7702, allocations: 75.33 kB / 0.7109 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.7715, allocations: 465 kB / 0.7113 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.773, allocations: 0.6013 MB / 0.7119 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.7741, allocations: 0.7481 MB / 0.7127 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006599/0.7747, allocations: 475 kB / 0.7131 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004081/0.7751, allocations: 298.7 kB / 0.7134 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.7755, allocations: 290.4 kB / 0.7137 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.907e-05/0.7756, allocations: 28 kB / 0.7137 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007437/0.7763, allocations: 303.6 kB / 0.714 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.7765, allocations: 159.3 kB / 0.7141 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.7767, allocations: 189.1 kB / 0.7143 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.7778, allocations: 1.052 MB / 0.7154 GB, free: 8.652 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.7778, allocations: 0 / 0.7154 GB, free: 8.652 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7778, allocations: 3.938 kB / 0.7154 GB, free: 8.648 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.7779, allocations: 4 kB / 0.7154 GB, free: 8.645 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002076/0.7799, allocations: 1.139 MB / 0.7165 GB, free: 7.453 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.78, allocations: 8.031 kB / 0.7165 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.7802, allocations: 130.8 kB / 0.7166 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008855/0.7811, allocations: 190.6 kB / 0.7168 GB, free: 7.121 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.7821, allocations: 0.6759 MB / 0.7174 GB, free: 6.402 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.653e-05/0.7822, allocations: 58 kB / 0.7175 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.7823, allocations: 76 kB / 0.7176 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.7837, allocations: 0.8559 MB / 0.7184 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.7837, allocations: 0 / 0.7184 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.807e-05/0.7838, allocations: 36 kB / 0.7184 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.7839, allocations: 23.95 kB / 0.7185 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.7856, allocations: 1.061 MB / 0.7195 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.7893, allocations: 2.41 MB / 0.7219 GB, free: 1.773 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.7906, allocations: 0.7983 MB / 0.7226 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.781e-05/0.7907, allocations: 28.58 kB / 0.7227 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007706/0.7915, allocations: 432.1 kB / 0.7231 GB, free: 500 kB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.154e-06/0.7915, allocations: 7.938 kB / 0.7231 GB, free: 492 kB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.002681/0.7942, allocations: 1.077 MB / 0.7241 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/0.7943, allocations: 188.6 kB / 0.7243 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.795, allocations: 0.5822 MB / 0.7249 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.795, allocations: 45.69 kB / 0.7249 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.7953, allocations: 368.3 kB / 0.7253 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.7955, allocations: 240.5 kB / 0.7255 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.7956, allocations: 16 kB / 0.7255 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.7957, allocations: 374.8 kB / 0.7259 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.7961, allocations: 217.2 kB / 0.7261 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.7966, allocations: 318.8 kB / 0.7264 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.7971, allocations: 259.1 kB / 0.7266 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.7971, allocations: 4 kB / 0.7266 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001604/0.7987, allocations: 0.7198 MB / 0.7273 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.7988, allocations: 4 kB / 0.7273 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.7988, allocations: 3.984 kB / 0.7274 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/0.7994, allocations: 88.81 kB / 0.7274 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.8, allocations: 131.8 kB / 0.7276 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.802, allocations: 1.536 MB / 0.7291 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/0.8026, allocations: 79.39 kB / 0.7291 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.8027, allocations: 32.05 kB / 0.7292 GB, free: 9.965 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 (75): * Single equations (assignments): 74 * 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.000448/0.8031, allocations: 253.6 kB / 0.7294 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.8033, allocations: 75.06 kB / 0.7295 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.8054, allocations: 1.006 MB / 0.7305 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.8054, allocations: 12 kB / 0.7305 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.8055, allocations: 4 kB / 0.7305 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.8055, allocations: 11.94 kB / 0.7305 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/0.8085, allocations: 1.858 MB / 0.7323 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.8085, allocations: 4 kB / 0.7323 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/0.8091, allocations: 143.8 kB / 0.7324 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005096/0.8096, allocations: 80.78 kB / 0.7325 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/0.8097, allocations: 23.98 kB / 0.7325 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.8114, allocations: 1.563 MB / 0.7341 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8115, allocations: 4.031 kB / 0.7341 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.8132, allocations: 0.9218 MB / 0.735 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/0.8136, allocations: 263.8 kB / 0.7352 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.8137, allocations: 19.98 kB / 0.7352 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000553/0.8143, allocations: 67.95 kB / 0.7353 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.8144, allocations: 60.91 kB / 0.7354 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.8145, allocations: 31.94 kB / 0.7354 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005432/0.8151, allocations: 431 kB / 0.7358 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8151, allocations: 0 / 0.7358 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009945/0.8161, allocations: 283.3 kB / 0.7361 GB, free: 2.625 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 (86): * Single equations (assignments): 83 * 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.003253/0.8193, allocations: 1.938 MB / 0.738 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.8208, allocations: 0.7278 MB / 0.7387 GB, free: 140 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8208, allocations: 0 / 0.7387 GB, free: 140 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008152/0.8216, allocations: 0.4885 MB / 0.7392 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.8226, allocations: 241.1 kB / 0.7394 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009427/0.8321, allocations: 5.062 MB / 0.7443 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.8327, allocations: 1.027 MB / 0.7453 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008613/0.8336, allocations: 253.3 kB / 0.7456 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/0.8342, allocations: 359.2 kB / 0.7459 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/0.8342, allocations: 0 / 0.7459 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5707/1.405, allocations: 19.78 MB / 0.7652 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003703/1.405, allocations: 271.5 kB / 0.7655 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/4.453, allocations: 4.062 kB / 0.7655 GB, free: 4.898 MB / 0.5919 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/linux/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) Environment - environmentSimulation: