Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9407/0.9407, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 179.8 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008992/0.0008992, allocations: 92.03 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001784/0.001784, allocations: 269.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.804e-05, allocations: 0 / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4498, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.528/4.978, allocations: 1.692 GB / 2.449 GB, free: 94 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/4.978, allocations: 83.95 kB / 2.449 GB, free: 93.92 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1961/5.174, allocations: 93.48 MB / 2.541 GB, free: 132 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/5.174, allocations: 0 / 2.541 GB, free: 132 kB / 0.698 GB Notification: Performance of Transformations before backend: time 8.285e-05/5.175, allocations: 39.94 kB / 2.541 GB, free: 92 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.5338/5.708, allocations: 1.387 MB / 2.542 GB, free: 230.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.166e-05/5.708, allocations: 9.812 kB / 2.542 GB, free: 230.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/5.71, allocations: 242.3 kB / 2.542 GB, free: 230.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/5.712, allocations: 0.7773 MB / 2.543 GB, free: 230.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/5.712, allocations: 46.16 kB / 2.543 GB, free: 230.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/5.712, allocations: 87.11 kB / 2.543 GB, free: 230.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002906/5.715, allocations: 1.377 MB / 2.545 GB, free: 230.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/5.717, allocations: 1.181 MB / 2.546 GB, free: 229.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/5.717, allocations: 0 / 2.546 GB, free: 229.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/5.718, allocations: 1.406 kB / 2.546 GB, free: 229.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/5.718, allocations: 35.53 kB / 2.546 GB, free: 229.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007425/5.725, allocations: 3.555 MB / 2.549 GB, free: 229.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/5.727, allocations: 0.8612 MB / 2.55 GB, free: 229.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00064/5.727, allocations: 346 kB / 2.55 GB, free: 229.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/5.728, allocations: 48.86 kB / 2.55 GB, free: 229.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009806/5.729, allocations: 0.5258 MB / 2.551 GB, free: 229 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 4.037e-06/5.729, allocations: 0.625 kB / 2.551 GB, free: 229 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.002747/5.731, allocations: 0.9142 MB / 2.552 GB, free: 228.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/5.731, allocations: 247.1 kB / 2.552 GB, free: 228.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/5.732, allocations: 0.5889 MB / 2.553 GB, free: 228.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.63e-05/5.733, allocations: 26.58 kB / 2.553 GB, free: 228.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005377/5.733, allocations: 0.5634 MB / 2.553 GB, free: 228.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/5.733, allocations: 332.1 kB / 2.554 GB, free: 228 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/5.733, allocations: 0 / 2.554 GB, free: 228 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001631/5.734, allocations: 393.3 kB / 2.554 GB, free: 227.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/5.734, allocations: 299.8 kB / 2.554 GB, free: 227.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/5.735, allocations: 424.8 kB / 2.555 GB, free: 227.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005979/5.735, allocations: 367.1 kB / 2.555 GB, free: 227.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/5.735, allocations: 0 / 2.555 GB, free: 227.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001921/5.737, allocations: 0.9553 MB / 2.556 GB, free: 227.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/5.737, allocations: 14.91 kB / 2.556 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/5.737, allocations: 6.312 kB / 2.556 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/5.738, allocations: 81.39 kB / 2.556 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008708/5.739, allocations: 210.6 kB / 2.556 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/5.74, allocations: 1.47 MB / 2.558 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007333/5.741, allocations: 81.33 kB / 2.558 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-05/5.741, allocations: 39.72 kB / 2.558 GB, free: 226.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.0001897/5.742, allocations: 127.7 kB / 2.558 GB, free: 226.1 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001695/5.743, allocations: 0.9122 MB / 2.559 GB, free: 226 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/5.743, allocations: 97.2 kB / 2.559 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/5.746, allocations: 1.285 MB / 2.56 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/5.746, allocations: 11.94 kB / 2.56 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/5.746, allocations: 0 / 2.56 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/5.746, allocations: 6.078 kB / 2.56 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/5.75, allocations: 2.327 MB / 2.562 GB, free: 225.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/5.75, allocations: 5.109 kB / 2.562 GB, free: 225.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/5.75, allocations: 198.5 kB / 2.563 GB, free: 225.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/5.751, allocations: 82.67 kB / 2.563 GB, free: 225.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/5.751, allocations: 15.98 kB / 2.563 GB, free: 225.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/5.752, allocations: 1.497 MB / 2.564 GB, free: 224.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/5.752, allocations: 0 / 2.564 GB, free: 224.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/5.754, allocations: 1.07 MB / 2.565 GB, free: 223.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005162/5.755, allocations: 351.7 kB / 2.566 GB, free: 223.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/5.755, allocations: 3.938 kB / 2.566 GB, free: 223.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000729/5.756, allocations: 50.86 kB / 2.566 GB, free: 223.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/5.756, allocations: 76.83 kB / 2.566 GB, free: 223.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.589e-05/5.756, allocations: 39.92 kB / 2.566 GB, free: 223.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006885/5.757, allocations: 0.4979 MB / 2.566 GB, free: 223.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.2e-07/5.757, allocations: 0 / 2.566 GB, free: 223.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001539/5.758, allocations: 434.8 kB / 2.567 GB, free: 223.6 MB / 0.698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * 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.004267/5.762, allocations: 2.601 MB / 2.569 GB, free: 222.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001649/5.764, allocations: 0.9072 MB / 2.57 GB, free: 222.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/5.764, allocations: 3.625 kB / 2.57 GB, free: 222.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008626/5.765, allocations: 0.5536 MB / 2.571 GB, free: 222.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/5.766, allocations: 233.3 kB / 2.571 GB, free: 222.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005528/5.772, allocations: 2.024 MB / 2.573 GB, free: 222 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007617/5.773, allocations: 1.189 MB / 2.574 GB, free: 221.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00115/5.774, allocations: 295.8 kB / 2.574 GB, free: 221.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007999/5.775, allocations: 0.5449 MB / 2.575 GB, free: 221.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.603e-06/5.775, allocations: 0 / 2.575 GB, free: 221.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06985/5.844, allocations: 28.79 MB / 2.603 GB, free: 215.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/5.845, allocations: 205.4 kB / 2.603 GB, free: 215 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/8.697, allocations: 2.25 kB / 2.603 GB, free: 215 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)