Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001246/0.001247, allocations: 99.08 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.001579/0.00158, allocations: 177.3 kB / 15.94 MB, free: 220 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.454/1.454, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 135.2 MB / 426.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004685, allocations: 8 kB / 0.5069 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2173, allocations: 82.31 MB / 0.5873 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005311/0.2227, allocations: 3.397 MB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6014/0.8242, allocations: 127.4 MB / 0.715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006806/0.8249, allocations: 21.31 kB / 0.715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.8252, allocations: 67.94 kB / 0.7151 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.8268, allocations: 454.6 kB / 0.7155 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.829, allocations: 0.5978 MB / 0.7161 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.8304, allocations: 0.7247 MB / 0.7168 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007326/0.8311, allocations: 451.5 kB / 0.7173 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005693/0.8317, allocations: 289.6 kB / 0.7175 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004418/0.8321, allocations: 282.1 kB / 0.7178 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.412e-05/0.8322, allocations: 21.44 kB / 0.7178 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009784/0.8332, allocations: 300.9 kB / 0.7181 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.8334, allocations: 159.3 kB / 0.7183 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.8336, allocations: 171.2 kB / 0.7184 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.835, allocations: 1.048 MB / 0.7194 GB, free: 13.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.835, allocations: 4 kB / 0.7195 GB, free: 13.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.835, allocations: 0 / 0.7195 GB, free: 13.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.8351, allocations: 2 kB / 0.7195 GB, free: 13.21 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002418/0.8375, allocations: 1.123 MB / 0.7205 GB, free: 12.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.8376, allocations: 9.938 kB / 0.7206 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/0.8378, allocations: 127.9 kB / 0.7207 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009688/0.8387, allocations: 187 kB / 0.7209 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.8399, allocations: 0.6631 MB / 0.7215 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.84, allocations: 66.06 kB / 0.7216 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.8401, allocations: 80.12 kB / 0.7216 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.8417, allocations: 0.8324 MB / 0.7225 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.8417, allocations: 0.9688 kB / 0.7225 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.027e-05/0.8418, allocations: 31.78 kB / 0.7225 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.8418, allocations: 18.97 kB / 0.7225 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.8437, allocations: 1.054 MB / 0.7235 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004106/0.8478, allocations: 2.361 MB / 0.7258 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.8493, allocations: 0.7897 MB / 0.7266 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.158e-05/0.8494, allocations: 29.78 kB / 0.7266 GB, free: 9.406 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008645/0.8503, allocations: 417.8 kB / 0.727 GB, free: 9.227 MB / 0.545 GB Notification: Performance of pre-optimization done (n=70): time 2.785e-06/0.8503, allocations: 0 / 0.727 GB, free: 9.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=70): time 0.003154/0.8534, allocations: 1.055 MB / 0.7281 GB, free: 8.785 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.8536, allocations: 199.6 kB / 0.7283 GB, free: 8.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008817/0.8545, allocations: 0.573 MB / 0.7288 GB, free: 8.293 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.766e-05/0.8546, allocations: 36.2 kB / 0.7289 GB, free: 8.254 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.855, allocations: 370.4 kB / 0.7292 GB, free: 7.965 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.8552, allocations: 232 kB / 0.7294 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.8553, allocations: 11.31 kB / 0.7294 GB, free: 7.773 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002754/0.8556, allocations: 378 kB / 0.7298 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.8561, allocations: 208.6 kB / 0.73 GB, free: 7.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.8567, allocations: 308.4 kB / 0.7303 GB, free: 7.203 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004873/0.8572, allocations: 261.8 kB / 0.7305 GB, free: 7.094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8572, allocations: 0 / 0.7305 GB, free: 7.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001985/0.8592, allocations: 0.7 MB / 0.7312 GB, free: 6.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.8593, allocations: 5.562 kB / 0.7312 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.8593, allocations: 7.609 kB / 0.7312 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006904/0.86, allocations: 86.34 kB / 0.7313 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.8606, allocations: 138 kB / 0.7315 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.8629, allocations: 1.533 MB / 0.733 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009885/0.8639, allocations: 78.23 kB / 0.733 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/0.864, allocations: 30.66 kB / 0.7331 GB, free: 5.301 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: 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.0005635/0.8646, allocations: 248.2 kB / 0.7333 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.8647, allocations: 72.42 kB / 0.7334 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.8672, allocations: 0.9743 MB / 0.7343 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.8672, allocations: 8.344 kB / 0.7343 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8672, allocations: 0 / 0.7343 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.8672, allocations: 2.906 kB / 0.7343 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/0.8707, allocations: 1.801 MB / 0.7361 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.8708, allocations: 3.938 kB / 0.7361 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.8713, allocations: 135.9 kB / 0.7362 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/0.8718, allocations: 86 kB / 0.7363 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/0.8719, allocations: 24.12 kB / 0.7363 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.8738, allocations: 1.559 MB / 0.7378 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8738, allocations: 0 / 0.7378 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.8756, allocations: 0.8917 MB / 0.7387 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000496/0.8762, allocations: 265.4 kB / 0.739 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.8763, allocations: 16 kB / 0.739 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/0.8769, allocations: 71.33 kB / 0.739 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.8771, allocations: 60.91 kB / 0.7391 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/0.8771, allocations: 27.98 kB / 0.7391 GB, free: 168 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006208/0.8778, allocations: 419.1 kB / 0.7395 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8778, allocations: 0 / 0.7395 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001002/0.8788, allocations: 279.3 kB / 0.7398 GB, free: 15.49 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.003328/0.8821, allocations: 1.92 MB / 0.7417 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.8838, allocations: 0.7037 MB / 0.7424 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.8838, allocations: 0 / 0.7424 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008684/0.8847, allocations: 484.7 kB / 0.7428 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.886, allocations: 226.6 kB / 0.743 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009802/0.8959, allocations: 4.969 MB / 0.7479 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.8964, allocations: 1.007 MB / 0.7489 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008662/0.8973, allocations: 257.8 kB / 0.7491 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.8978, allocations: 347.3 kB / 0.7495 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.8978, allocations: 0 / 0.7495 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04036/0.9382, allocations: 19.38 MB / 0.7684 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/0.9385, allocations: 290.7 kB / 0.7687 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/3.441, allocations: 2.031 kB / 0.7687 GB, free: 2.328 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) Environment - environmentSimulation: