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.008435/0.008435, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.00223/0.00223, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9729/0.9729, allocations: 135.6 MB / 426.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.89 kB / 0.5857 GB, free: 3.254 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3526, allocations: 81.02 MB / 0.6648 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004496/0.3571, allocations: 4.065 MB / 0.6688 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.171/0.5281, allocations: 150.5 MB / 0.8157 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006866/0.5289, allocations: 15.94 kB / 0.8158 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005254/0.5294, allocations: 162.5 kB / 0.8159 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.5309, allocations: 485.4 kB / 0.8164 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.5327, allocations: 0.7907 MB / 0.8172 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001225/0.5339, allocations: 1.172 MB / 0.8183 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000867/0.5348, allocations: 0.6144 MB / 0.8189 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005123/0.5353, allocations: 422.5 kB / 0.8193 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005278/0.5359, allocations: 446 kB / 0.8197 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.536, allocations: 104 kB / 0.8198 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008325/0.5369, allocations: 479.6 kB / 0.8203 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.5372, allocations: 267.2 kB / 0.8205 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004653/0.5376, allocations: 0.4974 MB / 0.821 GB, free: 408 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.5394, allocations: 1.499 MB / 0.8225 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5394, allocations: 0 / 0.8225 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5394, allocations: 0 / 0.8225 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.5394, allocations: 0 / 0.8225 GB, free: 14.89 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00217/0.5416, allocations: 1.344 MB / 0.8238 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.5416, allocations: 12.03 kB / 0.8238 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.5418, allocations: 127 kB / 0.8239 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009041/0.5427, allocations: 184.1 kB / 0.8241 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.5438, allocations: 0.7349 MB / 0.8248 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/0.5439, allocations: 62 kB / 0.8249 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.544, allocations: 76 kB / 0.825 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.5455, allocations: 0.8559 MB / 0.8258 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.5456, allocations: 0 / 0.8258 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/0.5456, allocations: 32 kB / 0.8258 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.5457, allocations: 20 kB / 0.8258 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.5475, allocations: 1.061 MB / 0.8269 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00369/0.5512, allocations: 2.368 MB / 0.8292 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.5527, allocations: 0.796 MB / 0.83 GB, free: 7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/0.5532, allocations: 282.4 kB / 0.8302 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.509e-05/0.5533, allocations: 28.58 kB / 0.8303 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007839/0.5541, allocations: 413.8 kB / 0.8307 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 1.884e-06/0.5541, allocations: 0 / 0.8307 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.00304/0.5571, allocations: 1.075 MB / 0.8317 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.5573, allocations: 188.5 kB / 0.8319 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007476/0.558, allocations: 0.5861 MB / 0.8325 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.5581, allocations: 41.7 kB / 0.8325 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.5584, allocations: 384.8 kB / 0.8329 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.5586, allocations: 242 kB / 0.8331 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.5589, allocations: 130.2 kB / 0.8332 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.5591, allocations: 378.8 kB / 0.8336 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.5595, allocations: 209.2 kB / 0.8338 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.5601, allocations: 322.7 kB / 0.8341 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.5612, allocations: 0.5234 MB / 0.8346 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5612, allocations: 3.938 kB / 0.8346 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001783/0.563, allocations: 0.7124 MB / 0.8353 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.563, allocations: 4 kB / 0.8353 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.563, allocations: 0 / 0.8353 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/0.5636, allocations: 80.88 kB / 0.8354 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.5642, allocations: 139.8 kB / 0.8355 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.5664, allocations: 1.638 MB / 0.8371 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.567, allocations: 83.52 kB / 0.8372 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.567, allocations: 28.05 kB / 0.8372 GB, free: 15.25 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 (73): * Single equations (assignments): 72 * 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.0003405/0.5674, allocations: 252.1 kB / 0.8375 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.5675, allocations: 83.42 kB / 0.8375 GB, free: 14.92 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.5698, allocations: 0.9588 MB / 0.8385 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.5699, allocations: 8 kB / 0.8385 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.5699, allocations: 0 / 0.8385 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.5699, allocations: 3.984 kB / 0.8385 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.5731, allocations: 1.841 MB / 0.8403 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5731, allocations: 7.875 kB / 0.8403 GB, free: 12.03 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.5736, allocations: 131.9 kB / 0.8404 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004642/0.5741, allocations: 76.72 kB / 0.8405 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/0.5742, allocations: 19.98 kB / 0.8405 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.5762, allocations: 1.674 MB / 0.8422 GB, free: 9.984 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5763, allocations: 0 / 0.8422 GB, free: 9.984 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.5782, allocations: 0.8996 MB / 0.843 GB, free: 9.066 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/0.5785, allocations: 260.2 kB / 0.8433 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.5786, allocations: 23.94 kB / 0.8433 GB, free: 8.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/0.5792, allocations: 51.95 kB / 0.8433 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.5793, allocations: 60.91 kB / 0.8434 GB, free: 8.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/0.5794, allocations: 27.98 kB / 0.8434 GB, free: 8.633 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005249/0.5799, allocations: 427.1 kB / 0.8438 GB, free: 8.219 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5799, allocations: 0 / 0.8438 GB, free: 8.219 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007234/0.5806, allocations: 279.2 kB / 0.8441 GB, free: 7.945 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 (81): * Single equations (assignments): 78 * 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.003939/0.5846, allocations: 1.961 MB / 0.846 GB, free: 6.141 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.5861, allocations: 0.7162 MB / 0.8467 GB, free: 5.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5861, allocations: 0 / 0.8467 GB, free: 5.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.587, allocations: 480.3 kB / 0.8472 GB, free: 4.93 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.5882, allocations: 278 kB / 0.8474 GB, free: 4.676 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.5987, allocations: 5.845 MB / 0.8532 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00066/0.5994, allocations: 0.9875 MB / 0.8541 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007145/0.6001, allocations: 250 kB / 0.8544 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.6006, allocations: 347.3 kB / 0.8547 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of SimCode: time 2.7e-07/0.6006, allocations: 0 / 0.8547 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3218/0.9224, allocations: 19.67 MB / 0.8739 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.58, allocations: 7.219 kB / 0.8739 GB, free: 189.9 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.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_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)