Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_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.0008427/0.0008427, allocations: 100.1 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.0008305/0.0008306, 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.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7461/0.7461, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.000457, allocations: 16.55 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4759, allocations: 81.58 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006282/0.4823, allocations: 3.412 MB / 0.5863 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1945/0.6769, allocations: 127.4 MB / 0.7107 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008499/0.6778, allocations: 11.94 kB / 0.7107 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004131/0.6782, allocations: 75.33 kB / 0.7108 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.6798, allocations: 457.4 kB / 0.7112 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.682, allocations: 0.5901 MB / 0.7118 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.6836, allocations: 0.7208 MB / 0.7125 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008716/0.6845, allocations: 464.5 kB / 0.713 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004871/0.685, allocations: 290.8 kB / 0.7132 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004209/0.6854, allocations: 278.5 kB / 0.7135 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.888e-05/0.6855, allocations: 20 kB / 0.7135 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009868/0.6865, allocations: 307.6 kB / 0.7138 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.6867, allocations: 163.3 kB / 0.714 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.6869, allocations: 173.1 kB / 0.7141 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.688, allocations: 1.044 MB / 0.7152 GB, free: 8.898 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.688, allocations: 0 / 0.7152 GB, free: 8.898 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.402e-06/0.688, allocations: 0 / 0.7152 GB, free: 8.898 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.688, allocations: 0 / 0.7152 GB, free: 8.898 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.002043/0.6901, allocations: 1.128 MB / 0.7163 GB, free: 7.719 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.6901, allocations: 8.031 kB / 0.7163 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.6903, allocations: 134.7 kB / 0.7164 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009384/0.6912, allocations: 186.5 kB / 0.7166 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.6924, allocations: 0.6681 MB / 0.7172 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.6925, allocations: 58 kB / 0.7173 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.6926, allocations: 76 kB / 0.7174 GB, free: 6.543 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.694, allocations: 0.8286 MB / 0.7182 GB, free: 5.676 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.6941, allocations: 0 / 0.7182 GB, free: 5.676 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.56e-05/0.6942, allocations: 39.94 kB / 0.7182 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.6942, allocations: 20 kB / 0.7182 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.6959, allocations: 1.05 MB / 0.7192 GB, free: 4.562 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/0.7, allocations: 2.364 MB / 0.7216 GB, free: 2.133 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.7014, allocations: 0.783 MB / 0.7223 GB, free: 1.324 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.917e-05/0.7015, allocations: 24.61 kB / 0.7223 GB, free: 1.301 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008503/0.7024, allocations: 417.8 kB / 0.7227 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=70): time 2.154e-06/0.7024, allocations: 0 / 0.7227 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of matching and sorting (n=70): time 0.00292/0.7053, allocations: 1.06 MB / 0.7238 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.7054, allocations: 192.5 kB / 0.724 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007799/0.7062, allocations: 0.5744 MB / 0.7245 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/0.7063, allocations: 37.7 kB / 0.7246 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.7066, allocations: 364.3 kB / 0.7249 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.7068, allocations: 236.6 kB / 0.7251 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.7069, allocations: 12 kB / 0.7251 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.7071, allocations: 382.8 kB / 0.7255 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/0.7075, allocations: 201.2 kB / 0.7257 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.708, allocations: 318.7 kB / 0.726 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.7085, allocations: 251.2 kB / 0.7262 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.7085, allocations: 0 / 0.7262 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001666/0.7102, allocations: 0.7041 MB / 0.7269 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.7102, allocations: 11.95 kB / 0.7269 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.7102, allocations: 0 / 0.7269 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.7108, allocations: 80.86 kB / 0.727 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/0.7114, allocations: 135.8 kB / 0.7271 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.7134, allocations: 1.54 MB / 0.7286 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/0.7141, allocations: 79.41 kB / 0.7287 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/0.7142, allocations: 27.98 kB / 0.7288 GB, free: 10.44 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 (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.0004455/0.7147, allocations: 245.7 kB / 0.729 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.7148, allocations: 75.11 kB / 0.7291 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.7169, allocations: 0.9624 MB / 0.73 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.717, allocations: 8 kB / 0.73 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.717, allocations: 0 / 0.73 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.717, allocations: 11.92 kB / 0.73 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/0.7201, allocations: 1.797 MB / 0.7318 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.7201, allocations: 3.984 kB / 0.7318 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.7207, allocations: 140 kB / 0.7319 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005143/0.7212, allocations: 92.7 kB / 0.732 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/0.7213, allocations: 19.98 kB / 0.732 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.7231, allocations: 1.559 MB / 0.7335 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.7231, allocations: 3.984 kB / 0.7335 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.725, allocations: 0.8868 MB / 0.7344 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.7254, allocations: 263.7 kB / 0.7347 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.7255, allocations: 20 kB / 0.7347 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.7261, allocations: 67.94 kB / 0.7347 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.7263, allocations: 52.92 kB / 0.7348 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.04e-05/0.7264, allocations: 35.98 kB / 0.7348 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006872/0.7271, allocations: 419 kB / 0.7352 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7271, allocations: 0 / 0.7352 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001023/0.7281, allocations: 279.3 kB / 0.7355 GB, free: 3.285 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.003493/0.7316, allocations: 1.919 MB / 0.7374 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.7332, allocations: 0.7044 MB / 0.7381 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7332, allocations: 0 / 0.7381 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008158/0.734, allocations: 484.2 kB / 0.7385 GB, free: 360 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.7352, allocations: 242.3 kB / 0.7388 GB, free: 124 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009852/0.745, allocations: 4.973 MB / 0.7436 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.7457, allocations: 1.011 MB / 0.7446 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008982/0.7466, allocations: 250 kB / 0.7448 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004772/0.7471, allocations: 335.3 kB / 0.7452 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of SimCode: time 6.82e-07/0.7471, allocations: 0 / 0.7452 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.288/2.035, allocations: 19.39 MB / 0.7641 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004124/2.036, allocations: 277.2 kB / 0.7643 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.058/5.094, allocations: 0 / 0.7643 GB, free: 6.168 MB / 0.5919 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) Environment - environmentSimulation: