Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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 1.028/1.028, allocations: 143.3 MB / 158.3 MB, free: 5.77 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.002019/0.00202, allocations: 184.4 kB / 191.5 MB, free: 5.746 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.673/1.673, allocations: 223.2 MB / 447.7 MB, free: 4.828 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.001007/0.001007, allocations: 84.33 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 275.9 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004377, allocations: 10.88 kB / 0.6929 GB, free: 59.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2038, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.376/4.58, allocations: 1.692 GB / 2.466 GB, free: 60.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/4.581, allocations: 86.83 kB / 2.466 GB, free: 60.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.6275/5.208, allocations: 80.81 MB / 2.545 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.587e-06/5.208, allocations: 0 / 2.545 GB, free: 233.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.983e-05/5.208, allocations: 30.28 kB / 2.545 GB, free: 233.7 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002672/5.211, allocations: 1.399 MB / 2.546 GB, free: 233 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.402e-05/5.211, allocations: 12.11 kB / 2.546 GB, free: 233 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002379/5.211, allocations: 172 kB / 2.546 GB, free: 232.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009665/5.212, allocations: 223.4 kB / 2.547 GB, free: 232.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/5.213, allocations: 0.7199 MB / 2.547 GB, free: 232.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.8e-05/5.213, allocations: 86.83 kB / 2.547 GB, free: 232.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/5.214, allocations: 114.4 kB / 2.547 GB, free: 232.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/5.216, allocations: 1.122 MB / 2.549 GB, free: 232.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/5.216, allocations: 3 kB / 2.549 GB, free: 232.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/5.216, allocations: 49.69 kB / 2.549 GB, free: 232.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/5.216, allocations: 28.81 kB / 2.549 GB, free: 232.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/5.219, allocations: 1.24 MB / 2.55 GB, free: 232.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006514/5.225, allocations: 3.061 MB / 2.553 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/5.227, allocations: 0.7892 MB / 2.554 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.835e-05/5.227, allocations: 29.77 kB / 2.554 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009339/5.228, allocations: 451.2 kB / 2.554 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=78): time 3.226e-06/5.228, allocations: 2.844 kB / 2.554 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=78): time 0.00338/5.231, allocations: 1.162 MB / 2.555 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.888e-05/5.232, allocations: 245.7 kB / 2.555 GB, free: 231 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/5.233, allocations: 0.6725 MB / 2.556 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/5.233, allocations: 47.89 kB / 2.556 GB, free: 230.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/5.233, allocations: 0.4959 MB / 2.557 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/5.233, allocations: 253.4 kB / 2.557 GB, free: 230.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/5.233, allocations: 13.5 kB / 2.557 GB, free: 230.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.423e-05/5.234, allocations: 336.8 kB / 2.557 GB, free: 230.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/5.234, allocations: 237.7 kB / 2.557 GB, free: 230.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/5.235, allocations: 358.9 kB / 2.558 GB, free: 230 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/5.235, allocations: 287.9 kB / 2.558 GB, free: 230 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/5.235, allocations: 4.984 kB / 2.558 GB, free: 230 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002033/5.237, allocations: 0.8032 MB / 2.559 GB, free: 229.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/5.237, allocations: 6.781 kB / 2.559 GB, free: 229.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/5.237, allocations: 1.281 kB / 2.559 GB, free: 229.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000641/5.238, allocations: 82.91 kB / 2.559 GB, free: 229.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/5.239, allocations: 150.1 kB / 2.559 GB, free: 229.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/5.241, allocations: 1.527 MB / 2.56 GB, free: 228.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008976/5.242, allocations: 90.08 kB / 2.561 GB, free: 228.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/5.242, allocations: 33.38 kB / 2.561 GB, free: 228.6 MB / 0.7136 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0007302/5.243, allocations: 278.2 kB / 2.561 GB, free: 228.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/5.243, allocations: 89.94 kB / 2.561 GB, free: 228.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/5.245, allocations: 1.049 MB / 2.562 GB, free: 228.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/5.245, allocations: 11.77 kB / 2.562 GB, free: 228.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/5.245, allocations: 1.156 kB / 2.562 GB, free: 228.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/5.245, allocations: 5.359 kB / 2.562 GB, free: 228.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/5.247, allocations: 1.009 MB / 2.563 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/5.247, allocations: 1.469 kB / 2.563 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/5.248, allocations: 157.9 kB / 2.563 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005355/5.248, allocations: 81.95 kB / 2.563 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.154e-05/5.248, allocations: 24.3 kB / 2.563 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/5.25, allocations: 1.557 MB / 2.565 GB, free: 226.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/5.25, allocations: 0 / 2.565 GB, free: 226.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/5.252, allocations: 0.8951 MB / 2.566 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005584/5.253, allocations: 297.6 kB / 2.566 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/5.253, allocations: 21.12 kB / 2.566 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/5.254, allocations: 67.41 kB / 2.566 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/5.254, allocations: 66.58 kB / 2.566 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/5.254, allocations: 31.3 kB / 2.566 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007685/5.255, allocations: 0.5437 MB / 2.567 GB, free: 226.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/5.255, allocations: 3.938 kB / 2.567 GB, free: 226.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00133/5.256, allocations: 396.2 kB / 2.567 GB, free: 226.3 MB / 0.7136 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.00441/5.26, allocations: 2.42 MB / 2.569 GB, free: 225.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001713/5.262, allocations: 0.7684 MB / 2.57 GB, free: 225.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/5.262, allocations: 3.219 kB / 2.57 GB, free: 225.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008738/5.263, allocations: 0.5043 MB / 2.571 GB, free: 225.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/5.264, allocations: 251.9 kB / 2.571 GB, free: 225.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009999/5.274, allocations: 5.857 MB / 2.577 GB, free: 223 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/5.275, allocations: 1.112 MB / 2.578 GB, free: 222.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001035/5.276, allocations: 276 kB / 2.578 GB, free: 222.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005786/5.277, allocations: 451.1 kB / 2.578 GB, free: 222.2 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/5.277, allocations: 3.812 kB / 2.578 GB, free: 222.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0622/5.339, allocations: 31.15 MB / 2.609 GB, free: 212.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/5.339, allocations: 284.1 kB / 2.609 GB, free: 212 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.274/8.613, allocations: 4 kB / 2.609 GB, free: 212 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)