Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.8768/0.8768, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001606/0.001606, allocations: 181 kB / 191.5 MB, free: 5.758 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.703/1.703, allocations: 223.2 MB / 447.7 MB, free: 6.57 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.001192/0.001192, allocations: 104.3 kB / 0.5188 GB, free: 2.918 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002758/0.002758, allocations: 268.3 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004605, allocations: 12 kB / 0.6929 GB, free: 2.234 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4689, allocations: 82.78 MB / 0.7738 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.244/4.713, allocations: 1.695 GB / 2.469 GB, free: 59.06 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/4.714, allocations: 91.95 kB / 2.469 GB, free: 58.97 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.69/5.404, allocations: 100 MB / 2.567 GB, free: 227.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.268e-06/5.404, allocations: 2.531 kB / 2.567 GB, free: 227.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001161/5.404, allocations: 49.12 kB / 2.567 GB, free: 227.6 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.004822/5.409, allocations: 2.065 MB / 2.569 GB, free: 226.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/5.409, allocations: 8.312 kB / 2.569 GB, free: 226.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005103/5.409, allocations: 280.5 kB / 2.569 GB, free: 226.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01287/5.422, allocations: 1.889 MB / 2.571 GB, free: 225.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/5.425, allocations: 1.062 MB / 2.572 GB, free: 225 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/5.425, allocations: 151.3 kB / 2.572 GB, free: 225 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007763/5.426, allocations: 190.2 kB / 2.573 GB, free: 225 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009601/5.436, allocations: 3.063 MB / 2.576 GB, free: 224 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.788e-05/5.436, allocations: 6.656 kB / 2.576 GB, free: 224 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/5.436, allocations: 79.28 kB / 2.576 GB, free: 224 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/5.436, allocations: 50.03 kB / 2.576 GB, free: 224 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0133/5.45, allocations: 4.166 MB / 2.58 GB, free: 223 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01876/5.468, allocations: 6.754 MB / 2.586 GB, free: 217.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007995/5.476, allocations: 2.696 MB / 2.589 GB, free: 215.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008616/5.477, allocations: 0.506 MB / 2.589 GB, free: 214.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004684/5.482, allocations: 1.707 MB / 2.591 GB, free: 212.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=195): time 4.288e-06/5.482, allocations: 0 / 2.591 GB, free: 212.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.01336/5.495, allocations: 4.222 MB / 2.595 GB, free: 208.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/5.496, allocations: 257.2 kB / 2.596 GB, free: 208.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/5.497, allocations: 0.8017 MB / 2.596 GB, free: 207.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004237/5.497, allocations: 69.64 kB / 2.596 GB, free: 207.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004859/5.498, allocations: 0.6414 MB / 2.597 GB, free: 206.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005478/5.498, allocations: 0.631 MB / 2.598 GB, free: 206.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/5.498, allocations: 32 kB / 2.598 GB, free: 206.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/5.499, allocations: 365.9 kB / 2.598 GB, free: 205.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00358/5.502, allocations: 1.175 MB / 2.599 GB, free: 204.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/5.506, allocations: 1.372 MB / 2.6 GB, free: 203.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00369/5.51, allocations: 1.212 MB / 2.602 GB, free: 201.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/5.51, allocations: 7.953 kB / 2.602 GB, free: 201.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.009139/5.519, allocations: 2.909 MB / 2.604 GB, free: 199 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/5.519, allocations: 9.234 kB / 2.605 GB, free: 199 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/5.519, allocations: 8.062 kB / 2.605 GB, free: 199 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/5.52, allocations: 80.78 kB / 2.605 GB, free: 198.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004085/5.524, allocations: 0.5687 MB / 2.605 GB, free: 198.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/5.526, allocations: 1.538 MB / 2.607 GB, free: 196.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003891/5.53, allocations: 334.2 kB / 2.607 GB, free: 196.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005525/5.53, allocations: 91.86 kB / 2.607 GB, free: 196.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (206): * Single equations (assignments): 205 * 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.001204/5.532, allocations: 396.7 kB / 2.607 GB, free: 195.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004331/5.532, allocations: 138.3 kB / 2.608 GB, free: 195.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/5.543, allocations: 3.523 MB / 2.611 GB, free: 192.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/5.543, allocations: 23.95 kB / 2.611 GB, free: 192.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/5.543, allocations: 0 / 2.611 GB, free: 192.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/5.543, allocations: 15.89 kB / 2.611 GB, free: 192.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/5.556, allocations: 5.748 MB / 2.617 GB, free: 186.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/5.556, allocations: 3.953 kB / 2.617 GB, free: 186.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004003/5.56, allocations: 0.5439 MB / 2.617 GB, free: 185.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006228/5.561, allocations: 92.77 kB / 2.617 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005075/5.562, allocations: 66.11 kB / 2.617 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/5.563, allocations: 1.57 MB / 2.619 GB, free: 184 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/5.563, allocations: 0 / 2.619 GB, free: 184 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009911/5.573, allocations: 3.068 MB / 2.622 GB, free: 181 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/5.575, allocations: 0.5399 MB / 2.622 GB, free: 180.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006029/5.575, allocations: 36 kB / 2.622 GB, free: 180.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003455/5.579, allocations: 269.6 kB / 2.623 GB, free: 180.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003606/5.579, allocations: 125.8 kB / 2.623 GB, free: 180 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003094/5.58, allocations: 83.92 kB / 2.623 GB, free: 179.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001462/5.581, allocations: 0.6735 MB / 2.624 GB, free: 179.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.62e-07/5.581, allocations: 4 kB / 2.624 GB, free: 179.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003038/5.584, allocations: 0.6504 MB / 2.624 GB, free: 178.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * 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.01144/5.596, allocations: 4.649 MB / 2.629 GB, free: 174.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009253/5.605, allocations: 2.969 MB / 2.632 GB, free: 171.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/5.605, allocations: 0 / 2.632 GB, free: 171.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004409/5.609, allocations: 1.666 MB / 2.633 GB, free: 169.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/5.611, allocations: 285.1 kB / 2.634 GB, free: 169.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03138/5.642, allocations: 12.43 MB / 2.646 GB, free: 156.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/5.644, allocations: 1.373 MB / 2.647 GB, free: 155.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005635/5.65, allocations: 0.5541 MB / 2.648 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002709/5.652, allocations: 0.7608 MB / 2.648 GB, free: 154 MB / 0.698 GB Notification: Performance of SimCode: time 1.843e-06/5.652, allocations: 0 / 2.648 GB, free: 154 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08108/5.734, allocations: 47.68 MB / 2.695 GB, free: 106.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/5.734, allocations: 278.9 kB / 2.695 GB, free: 106.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.972/9.706, allocations: 0 / 2.695 GB, free: 106.6 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)