Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.0009824/0.0009826, allocations: 99.62 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.0009566/0.0009567, 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.494/1.494, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004764, allocations: 8 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2535, allocations: 82.31 MB / 0.5873 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006894/0.2605, allocations: 3.534 MB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6751/0.9356, allocations: 127.5 MB / 0.7153 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007328/0.9364, allocations: 13.78 kB / 0.7153 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.9368, allocations: 72.55 kB / 0.7154 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.9384, allocations: 476.1 kB / 0.7158 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.9405, allocations: 0.6317 MB / 0.7164 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.942, allocations: 0.762 MB / 0.7172 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009328/0.9429, allocations: 497.3 kB / 0.7177 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000673/0.9436, allocations: 318.5 kB / 0.718 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.9441, allocations: 312.1 kB / 0.7183 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.662e-05/0.9442, allocations: 22.34 kB / 0.7183 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.9453, allocations: 325.1 kB / 0.7186 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.9456, allocations: 169.4 kB / 0.7187 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.9458, allocations: 186.7 kB / 0.7189 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.9474, allocations: 1.102 MB / 0.72 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.9474, allocations: 0 / 0.72 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9474, allocations: 0 / 0.72 GB, free: 12.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.9474, allocations: 1.125 kB / 0.72 GB, free: 12.94 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002302/0.9497, allocations: 1.169 MB / 0.7211 GB, free: 12.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.9498, allocations: 8.75 kB / 0.7211 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000258/0.95, allocations: 136.4 kB / 0.7213 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.9511, allocations: 190.4 kB / 0.7215 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.9523, allocations: 0.6897 MB / 0.7221 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.9524, allocations: 64.23 kB / 0.7222 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.9525, allocations: 79.28 kB / 0.7223 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.9543, allocations: 0.8923 MB / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.9543, allocations: 0 / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.531e-05/0.9544, allocations: 38.56 kB / 0.7232 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.9544, allocations: 22.41 kB / 0.7232 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.9564, allocations: 1.097 MB / 0.7243 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004828/0.9613, allocations: 2.556 MB / 0.7268 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.9633, allocations: 0.8694 MB / 0.7276 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-05/0.9635, allocations: 34.39 kB / 0.7277 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008154/0.9643, allocations: 448 kB / 0.7281 GB, free: 8.773 MB / 0.545 GB Notification: Performance of pre-optimization done (n=76): time 2.565e-06/0.9643, allocations: 0 / 0.7281 GB, free: 8.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.003094/0.9674, allocations: 1.129 MB / 0.7292 GB, free: 8.301 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.673e-05/0.9675, allocations: 191.8 kB / 0.7294 GB, free: 8.082 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007653/0.9683, allocations: 0.5952 MB / 0.7299 GB, free: 7.816 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/0.9684, allocations: 44.42 kB / 0.73 GB, free: 7.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.9686, allocations: 379.6 kB / 0.7303 GB, free: 7.473 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.9689, allocations: 253.2 kB / 0.7306 GB, free: 7.273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.9689, allocations: 10.94 kB / 0.7306 GB, free: 7.266 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.9691, allocations: 382.7 kB / 0.731 GB, free: 6.922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.9696, allocations: 225.9 kB / 0.7312 GB, free: 6.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.9701, allocations: 334.7 kB / 0.7315 GB, free: 6.672 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/0.9706, allocations: 277 kB / 0.7318 GB, free: 6.559 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9706, allocations: 0.6562 kB / 0.7318 GB, free: 6.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001753/0.9724, allocations: 0.7616 MB / 0.7325 GB, free: 6.258 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.9724, allocations: 2.688 kB / 0.7325 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.9724, allocations: 2.875 kB / 0.7325 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005635/0.973, allocations: 82.28 kB / 0.7326 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.9736, allocations: 152.4 kB / 0.7327 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.9758, allocations: 1.526 MB / 0.7342 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/0.9765, allocations: 96.69 kB / 0.7343 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.9766, allocations: 28.75 kB / 0.7343 GB, free: 4.742 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0005371/0.9771, allocations: 251.9 kB / 0.7346 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.9773, allocations: 79.95 kB / 0.7347 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.9797, allocations: 1.071 MB / 0.7357 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.9797, allocations: 8 kB / 0.7357 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.9797, allocations: 0 / 0.7357 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.9797, allocations: 9.156 kB / 0.7357 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/0.9832, allocations: 1.951 MB / 0.7376 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.9832, allocations: 0 / 0.7376 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006509/0.9838, allocations: 159.8 kB / 0.7378 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00052/0.9844, allocations: 84.72 kB / 0.7379 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.9844, allocations: 27.97 kB / 0.7379 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.9863, allocations: 1.55 MB / 0.7394 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9863, allocations: 0 / 0.7394 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.9882, allocations: 0.9686 MB / 0.7404 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.9886, allocations: 275.8 kB / 0.7406 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.9888, allocations: 19.98 kB / 0.7406 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/0.9893, allocations: 67.95 kB / 0.7407 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.9895, allocations: 72.84 kB / 0.7408 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-05/0.9896, allocations: 31.98 kB / 0.7408 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005794/0.9902, allocations: 435 kB / 0.7412 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9902, allocations: 3.938 kB / 0.7412 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001001/0.9912, allocations: 307.2 kB / 0.7415 GB, free: 13.77 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 (93): * Single equations (assignments): 90 * 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.003445/0.9947, allocations: 2.009 MB / 0.7435 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.9963, allocations: 0.7545 MB / 0.7442 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.9963, allocations: 8.062 kB / 0.7442 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008751/0.9972, allocations: 0.5123 MB / 0.7447 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.9984, allocations: 245.3 kB / 0.745 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.009, allocations: 5.213 MB / 0.75 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/1.009, allocations: 1.037 MB / 0.7511 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009828/1.01, allocations: 262.5 kB / 0.7513 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/1.011, allocations: 367.3 kB / 0.7517 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/1.011, allocations: 4 kB / 0.7517 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04461/1.055, allocations: 20.44 MB / 0.7716 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/1.056, allocations: 277.8 kB / 0.7719 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.465, allocations: 0 / 0.7719 GB, free: 15.05 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) Environment - environmentSimulation: