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.7851/0.7851, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001103/0.001103, allocations: 172.9 kB / 182.2 MB, free: 9.473 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.573/1.573, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009171/0.000917, allocations: 88.06 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001739/0.00174, allocations: 277.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.793e-05/1.795e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.4706, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.154/4.625, allocations: 1.695 GB / 2.452 GB, free: 94.28 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/4.625, allocations: 87.94 kB / 2.452 GB, free: 94.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6752/5.3, allocations: 98.76 MB / 2.549 GB, free: 225.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.765e-06/5.3, allocations: 0 / 2.549 GB, free: 225.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000151/5.301, allocations: 47.59 kB / 2.549 GB, free: 225.5 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.006076/5.307, allocations: 1.922 MB / 2.551 GB, free: 224.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/5.307, allocations: 13.56 kB / 2.551 GB, free: 224.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/5.32, allocations: 1.883 MB / 2.553 GB, free: 224.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/5.323, allocations: 1.049 MB / 2.554 GB, free: 224.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/5.323, allocations: 64.22 kB / 2.554 GB, free: 224.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007282/5.324, allocations: 112 kB / 2.554 GB, free: 224.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006347/5.331, allocations: 2.857 MB / 2.556 GB, free: 224.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004052/5.335, allocations: 2.176 MB / 2.559 GB, free: 224.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/5.335, allocations: 7.031 kB / 2.559 GB, free: 224.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/5.335, allocations: 0 / 2.559 GB, free: 224.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/5.335, allocations: 49.06 kB / 2.559 GB, free: 224.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/5.35, allocations: 6.389 MB / 2.565 GB, free: 223.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/5.353, allocations: 1.89 MB / 2.567 GB, free: 223.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/5.354, allocations: 1.012 MB / 2.568 GB, free: 223.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006916/5.355, allocations: 0.5023 MB / 2.568 GB, free: 222.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00178/5.356, allocations: 1.258 MB / 2.569 GB, free: 222.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=195): time 3.527e-06/5.356, allocations: 2.156 kB / 2.569 GB, free: 222.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.01237/5.369, allocations: 3.656 MB / 2.573 GB, free: 222.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/5.369, allocations: 259.8 kB / 2.573 GB, free: 222.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009848/5.37, allocations: 0.6296 MB / 2.574 GB, free: 221.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002495/5.37, allocations: 29.02 kB / 2.574 GB, free: 221.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/5.371, allocations: 0.6541 MB / 2.575 GB, free: 221.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005218/5.371, allocations: 0.6019 MB / 2.575 GB, free: 221.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/5.371, allocations: 1.875 kB / 2.575 GB, free: 221.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001347/5.371, allocations: 422.9 kB / 2.576 GB, free: 220.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/5.373, allocations: 0.7699 MB / 2.576 GB, free: 220.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/5.374, allocations: 0.9388 MB / 2.577 GB, free: 220.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009379/5.383, allocations: 2.454 MB / 2.58 GB, free: 220.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-05/5.383, allocations: 0 / 2.58 GB, free: 220.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01284/5.396, allocations: 3.691 MB / 2.583 GB, free: 219.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/5.396, allocations: 7.578 kB / 2.583 GB, free: 219.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/5.396, allocations: 3.969 kB / 2.583 GB, free: 219.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005681/5.397, allocations: 79.16 kB / 2.583 GB, free: 219.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00362/5.4, allocations: 0.5684 MB / 2.584 GB, free: 219.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/5.402, allocations: 1.468 MB / 2.585 GB, free: 218 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/5.405, allocations: 289.3 kB / 2.586 GB, free: 217.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003662/5.406, allocations: 93.25 kB / 2.586 GB, free: 217.9 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 () * 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.0004864/5.406, allocations: 131.1 kB / 2.586 GB, free: 217.8 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01193/5.418, allocations: 3.653 MB / 2.589 GB, free: 216.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000381/5.419, allocations: 133.2 kB / 2.589 GB, free: 216.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/5.432, allocations: 4.245 MB / 2.594 GB, free: 215.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/5.432, allocations: 23.03 kB / 2.594 GB, free: 215.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/5.432, allocations: 3.953 kB / 2.594 GB, free: 215.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/5.432, allocations: 14.88 kB / 2.594 GB, free: 215.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/5.447, allocations: 6.266 MB / 2.6 GB, free: 213.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/5.447, allocations: 3.562 kB / 2.6 GB, free: 213.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003541/5.451, allocations: 0.5437 MB / 2.6 GB, free: 213.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005026/5.452, allocations: 87.53 kB / 2.6 GB, free: 213.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002678/5.452, allocations: 54.69 kB / 2.6 GB, free: 213.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/5.453, allocations: 1.48 MB / 2.602 GB, free: 211.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/5.453, allocations: 3.625 kB / 2.602 GB, free: 211.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/5.466, allocations: 3.838 MB / 2.606 GB, free: 208.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008927/5.467, allocations: 0.526 MB / 2.606 GB, free: 208.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/5.467, allocations: 2.719 kB / 2.606 GB, free: 208.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00271/5.47, allocations: 235.9 kB / 2.606 GB, free: 208.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/5.47, allocations: 121.6 kB / 2.607 GB, free: 208.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/5.47, allocations: 86.64 kB / 2.607 GB, free: 208 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006737/5.471, allocations: 0.5314 MB / 2.607 GB, free: 207.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.42e-07/5.471, allocations: 0 / 2.607 GB, free: 207.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002088/5.473, allocations: 0.5912 MB / 2.608 GB, free: 206.9 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 (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.01492/5.488, allocations: 5.414 MB / 2.613 GB, free: 202.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003304/5.491, allocations: 2.115 MB / 2.615 GB, free: 200.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/5.491, allocations: 4.312 kB / 2.615 GB, free: 200.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001668/5.493, allocations: 1.233 MB / 2.616 GB, free: 199.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/5.495, allocations: 240.7 kB / 2.616 GB, free: 199.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006683/5.501, allocations: 3.02 MB / 2.619 GB, free: 196.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007453/5.502, allocations: 1.372 MB / 2.621 GB, free: 195.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003257/5.505, allocations: 0.5577 MB / 2.621 GB, free: 194.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/5.507, allocations: 0.7624 MB / 2.622 GB, free: 194.1 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/5.507, allocations: 4 kB / 2.622 GB, free: 194.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07704/5.584, allocations: 40.98 MB / 2.662 GB, free: 158.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/5.584, allocations: 202.7 kB / 2.662 GB, free: 158.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.292/8.876, allocations: 0 / 2.662 GB, free: 158.3 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)