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.7314/0.7314, 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.001008/0.001008, 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.3/1.3, allocations: 221.3 MB / 441.4 MB, free: 4.672 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.0008358/0.0008359, allocations: 89.08 kB / 0.5124 GB, free: 24.11 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001662/0.001662, allocations: 277.1 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.912e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3717, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.231/3.603, allocations: 1.695 GB / 2.46 GB, free: 46.95 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/3.603, allocations: 88.42 kB / 2.46 GB, free: 46.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5262/4.129, allocations: 99.68 MB / 2.557 GB, free: 229.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/4.129, allocations: 0 / 2.557 GB, free: 229.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.199e-05/4.129, allocations: 46.62 kB / 2.557 GB, free: 229.9 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.003367/4.133, allocations: 1.92 MB / 2.559 GB, free: 228.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/4.133, allocations: 7.875 kB / 2.559 GB, free: 228.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002942/4.133, allocations: 279.7 kB / 2.559 GB, free: 228.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/4.145, allocations: 1.888 MB / 2.561 GB, free: 227.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/4.147, allocations: 1.052 MB / 2.562 GB, free: 226.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.272e-05/4.147, allocations: 153.3 kB / 2.562 GB, free: 226.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/4.147, allocations: 191.5 kB / 2.563 GB, free: 226.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/4.15, allocations: 2.446 MB / 2.565 GB, free: 224.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/4.15, allocations: 0 / 2.565 GB, free: 224.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/4.151, allocations: 80.62 kB / 2.565 GB, free: 224.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/4.151, allocations: 51.95 kB / 2.565 GB, free: 224.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003994/4.155, allocations: 2.96 MB / 2.568 GB, free: 222 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/4.166, allocations: 6.745 MB / 2.575 GB, free: 215.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/4.169, allocations: 1.991 MB / 2.577 GB, free: 213.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/4.17, allocations: 1.061 MB / 2.578 GB, free: 212.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005955/4.17, allocations: 0.5026 MB / 2.578 GB, free: 211.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00165/4.172, allocations: 1.328 MB / 2.579 GB, free: 210.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=195): time 3.356e-06/4.172, allocations: 4 kB / 2.579 GB, free: 210.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.003666/4.176, allocations: 2.106 MB / 2.581 GB, free: 208.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/4.176, allocations: 249.3 kB / 2.582 GB, free: 208 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008222/4.177, allocations: 0.7904 MB / 2.582 GB, free: 207.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/4.177, allocations: 61.7 kB / 2.582 GB, free: 207.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/4.177, allocations: 0.6373 MB / 2.583 GB, free: 206.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/4.178, allocations: 0.6347 MB / 2.584 GB, free: 205.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/4.178, allocations: 35.28 kB / 2.584 GB, free: 205.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.936e-05/4.178, allocations: 369.9 kB / 2.584 GB, free: 205.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/4.179, allocations: 0.8046 MB / 2.585 GB, free: 204.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/4.18, allocations: 0.9814 MB / 2.586 GB, free: 203.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/4.181, allocations: 0.849 MB / 2.587 GB, free: 202.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/4.181, allocations: 0 / 2.587 GB, free: 202.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003631/4.185, allocations: 2.155 MB / 2.589 GB, free: 200.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/4.185, allocations: 7.938 kB / 2.589 GB, free: 200.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/4.185, allocations: 2.359 kB / 2.589 GB, free: 200.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/4.186, allocations: 92.77 kB / 2.589 GB, free: 200.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/4.189, allocations: 0.5658 MB / 2.589 GB, free: 200 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/4.19, allocations: 1.523 MB / 2.591 GB, free: 198.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/4.193, allocations: 346.2 kB / 2.591 GB, free: 198 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/4.193, allocations: 87.91 kB / 2.591 GB, free: 197.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.0003648/4.194, allocations: 189 kB / 2.592 GB, free: 197.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/4.194, allocations: 138.3 kB / 2.592 GB, free: 197.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005201/4.199, allocations: 2.779 MB / 2.594 GB, free: 194.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/4.199, allocations: 23 kB / 2.594 GB, free: 194.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/4.199, allocations: 0 / 2.594 GB, free: 194.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/4.199, allocations: 14.81 kB / 2.594 GB, free: 194.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006665/4.206, allocations: 4.993 MB / 2.599 GB, free: 189.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/4.206, allocations: 0 / 2.599 GB, free: 189.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003075/4.209, allocations: 0.5495 MB / 2.6 GB, free: 189.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/4.209, allocations: 88.77 kB / 2.6 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/4.21, allocations: 67.92 kB / 2.6 GB, free: 189.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/4.211, allocations: 1.542 MB / 2.601 GB, free: 187.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/4.211, allocations: 2.344 kB / 2.601 GB, free: 187.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003548/4.214, allocations: 2.316 MB / 2.604 GB, free: 185.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007971/4.215, allocations: 0.5375 MB / 2.604 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/4.215, allocations: 43.36 kB / 2.604 GB, free: 184.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/4.218, allocations: 263.7 kB / 2.605 GB, free: 184.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/4.218, allocations: 125.8 kB / 2.605 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/4.218, allocations: 87.88 kB / 2.605 GB, free: 184.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007109/4.219, allocations: 0.6625 MB / 2.605 GB, free: 183.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/4.219, allocations: 4 kB / 2.605 GB, free: 183.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001505/4.221, allocations: 0.654 MB / 2.606 GB, free: 182.7 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.005312/4.226, allocations: 3.846 MB / 2.61 GB, free: 179.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003173/4.229, allocations: 2.209 MB / 2.612 GB, free: 177 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/4.229, allocations: 320 / 2.612 GB, free: 177 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/4.231, allocations: 1.291 MB / 2.613 GB, free: 175.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/4.232, allocations: 278.8 kB / 2.613 GB, free: 175.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/4.238, allocations: 3.197 MB / 2.617 GB, free: 172.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/4.238, allocations: 1.369 MB / 2.618 GB, free: 170.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002895/4.241, allocations: 0.563 MB / 2.618 GB, free: 170.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/4.242, allocations: 0.7569 MB / 2.619 GB, free: 169.6 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/4.242, allocations: 4 kB / 2.619 GB, free: 169.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06323/4.306, allocations: 49.71 MB / 2.668 GB, free: 120.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/4.306, allocations: 256.5 kB / 2.668 GB, free: 119.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.411/7.717, allocations: 0 / 2.668 GB, free: 119.9 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)