Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.7511/0.7511, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009925/0.0009925, allocations: 186 kB / 187.3 MB, free: 11.88 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.425/1.425, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0008492/0.0008491, allocations: 100.9 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001821/0.001821, allocations: 276.1 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.566e-05/3.577e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4259, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.567/3.993, allocations: 1.693 GB / 2.457 GB, free: 49.94 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/3.994, allocations: 105.6 kB / 2.457 GB, free: 49.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4908/4.485, allocations: 69.69 MB / 2.525 GB, free: 235.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/4.485, allocations: 0 / 2.525 GB, free: 235.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.19e-05/4.485, allocations: 19.53 kB / 2.525 GB, free: 235.7 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.00198/4.487, allocations: 1.163 MB / 2.526 GB, free: 235.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/4.487, allocations: 7.781 kB / 2.526 GB, free: 235.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/4.487, allocations: 141.6 kB / 2.526 GB, free: 235.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008659/4.488, allocations: 202.3 kB / 2.527 GB, free: 235 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/4.489, allocations: 0.6459 MB / 2.527 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/4.489, allocations: 70.5 kB / 2.527 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/4.489, allocations: 90.09 kB / 2.527 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/4.491, allocations: 0.9487 MB / 2.528 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/4.491, allocations: 3.938 kB / 2.528 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.745e-05/4.491, allocations: 39.94 kB / 2.528 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/4.491, allocations: 23 kB / 2.528 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/4.492, allocations: 1.12 MB / 2.53 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/4.496, allocations: 2.776 MB / 2.532 GB, free: 233.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/4.497, allocations: 0.7573 MB / 2.533 GB, free: 233.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/4.497, allocations: 280.1 kB / 2.533 GB, free: 233.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.384e-05/4.497, allocations: 40.14 kB / 2.533 GB, free: 233.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005882/4.498, allocations: 438.1 kB / 2.534 GB, free: 233.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.307e-06/4.498, allocations: 0 / 2.534 GB, free: 233.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.001591/4.499, allocations: 0.748 MB / 2.534 GB, free: 233.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/4.5, allocations: 239.6 kB / 2.535 GB, free: 233.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006835/4.5, allocations: 0.6155 MB / 2.535 GB, free: 233.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/4.5, allocations: 37.33 kB / 2.535 GB, free: 233.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/4.501, allocations: 415 kB / 2.536 GB, free: 233 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/4.501, allocations: 272.1 kB / 2.536 GB, free: 232.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/4.501, allocations: 11.62 kB / 2.536 GB, free: 232.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.93e-05/4.501, allocations: 379.4 kB / 2.536 GB, free: 232.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/4.501, allocations: 230 kB / 2.537 GB, free: 232.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/4.502, allocations: 328.7 kB / 2.537 GB, free: 232.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/4.502, allocations: 282.1 kB / 2.537 GB, free: 232.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/4.502, allocations: 0 / 2.537 GB, free: 232.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001426/4.503, allocations: 0.7471 MB / 2.538 GB, free: 232.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/4.503, allocations: 8.219 kB / 2.538 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/4.503, allocations: 5.375 kB / 2.538 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/4.504, allocations: 83.19 kB / 2.538 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/4.505, allocations: 161.1 kB / 2.538 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/4.506, allocations: 1.515 MB / 2.54 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/4.507, allocations: 89.42 kB / 2.54 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/4.507, allocations: 31.53 kB / 2.54 GB, free: 231 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 (84): * Single equations (assignments): 83 * 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.0001621/4.507, allocations: 145.7 kB / 2.54 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/4.507, allocations: 84.73 kB / 2.54 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/4.509, allocations: 1.066 MB / 2.541 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/4.509, allocations: 9.281 kB / 2.541 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/4.509, allocations: 0 / 2.541 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/4.509, allocations: 3.516 kB / 2.541 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/4.512, allocations: 2.008 MB / 2.543 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/4.512, allocations: 0 / 2.543 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005946/4.513, allocations: 168.5 kB / 2.543 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/4.513, allocations: 89.91 kB / 2.543 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/4.513, allocations: 20.5 kB / 2.543 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/4.515, allocations: 1.538 MB / 2.545 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/4.515, allocations: 0 / 2.545 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/4.516, allocations: 0.9325 MB / 2.546 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/4.517, allocations: 306.1 kB / 2.546 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/4.517, allocations: 18.19 kB / 2.546 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005464/4.517, allocations: 69.14 kB / 2.546 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/4.518, allocations: 65.84 kB / 2.546 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/4.518, allocations: 37.08 kB / 2.546 GB, free: 228.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006387/4.518, allocations: 0.495 MB / 2.547 GB, free: 228.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/4.518, allocations: 0 / 2.547 GB, free: 228.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001212/4.52, allocations: 402.7 kB / 2.547 GB, free: 228.5 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 (94): * Single equations (assignments): 91 * 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.003305/4.523, allocations: 2.43 MB / 2.549 GB, free: 227.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001194/4.524, allocations: 0.7338 MB / 2.55 GB, free: 227.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/4.524, allocations: 0 / 2.55 GB, free: 227.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006308/4.525, allocations: 0.4946 MB / 2.551 GB, free: 227.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/4.526, allocations: 254.9 kB / 2.551 GB, free: 227.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/4.529, allocations: 1.688 MB / 2.552 GB, free: 226.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/4.53, allocations: 1.061 MB / 2.553 GB, free: 225.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007708/4.531, allocations: 272.5 kB / 2.554 GB, free: 225.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/4.531, allocations: 398.2 kB / 2.554 GB, free: 225.6 MB / 0.698 GB Notification: Performance of SimCode: time 7.81e-07/4.531, allocations: 0 / 2.554 GB, free: 225.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04779/4.579, allocations: 32.62 MB / 2.586 GB, free: 202.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/4.579, allocations: 266 kB / 2.586 GB, free: 202.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.83/7.409, allocations: 0 / 2.586 GB, free: 202.4 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)