Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",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.7518/0.7518, 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.001108/0.001108, allocations: 181 kB / 187.3 MB, free: 11.87 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.4/1.4, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0009266/0.0009266, allocations: 98.41 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001807/0.001807, allocations: 276.1 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.759e-05/3.775e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4151, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.538, allocations: 110.6 MB / 0.8724 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.5383, allocations: 79.95 kB / 0.8725 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01201/0.5504, allocations: 4.929 MB / 0.8773 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5504, allocations: 0 / 0.8773 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.5504, allocations: 4 kB / 0.8773 GB, free: 8.84 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004444/0.5509, allocations: 434 kB / 0.8777 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.5509, allocations: 12.03 kB / 0.8777 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.551, allocations: 34.56 kB / 0.8777 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.551, allocations: 23.66 kB / 0.8778 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.5512, allocations: 206.6 kB / 0.878 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.5512, allocations: 0 / 0.878 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.5512, allocations: 4 kB / 0.878 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.5514, allocations: 61.59 kB / 0.878 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.5514, allocations: 0 / 0.878 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.5514, allocations: 4 kB / 0.878 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5514, allocations: 4 kB / 0.878 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.3e-05/0.5515, allocations: 39.97 kB / 0.8781 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.552, allocations: 336.8 kB / 0.8784 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.5522, allocations: 62.53 kB / 0.8784 GB, free: 7.488 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.5522, allocations: 32.84 kB / 0.8785 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.5523, allocations: 8 kB / 0.8785 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.5523, allocations: 30.56 kB / 0.8785 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.5523, allocations: 0 / 0.8785 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.000213/0.5525, allocations: 97.38 kB / 0.8786 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.5526, allocations: 51.41 kB / 0.8787 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.5528, allocations: 231.1 kB / 0.8789 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.5528, allocations: 25.7 kB / 0.8789 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.694e-05/0.5529, allocations: 140 kB / 0.879 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.5529, allocations: 7.906 kB / 0.879 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.553, allocations: 0 / 0.879 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5531, allocations: 326.8 kB / 0.8793 GB, free: 6.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/0.5531, allocations: 19.98 kB / 0.8794 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.015e-05/0.5532, allocations: 23.92 kB / 0.8794 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.313e-05/0.5532, allocations: 28.03 kB / 0.8794 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.5532, allocations: 0 / 0.8794 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001255/0.5534, allocations: 93.42 kB / 0.8795 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.5534, allocations: 4 kB / 0.8795 GB, free: 6.328 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5534, allocations: 4 kB / 0.8795 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.5534, allocations: 0 / 0.8795 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.5535, allocations: 11.98 kB / 0.8795 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5536, allocations: 0 / 0.8795 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.5536, allocations: 16.02 kB / 0.8795 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.5537, allocations: 3.953 kB / 0.8795 GB, free: 6.293 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.824e-05/0.5537, allocations: 109 kB / 0.8796 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.5538, allocations: 19.72 kB / 0.8797 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.554, allocations: 106.5 kB / 0.8798 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.554, allocations: 4 kB / 0.8798 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.554, allocations: 4 kB / 0.8798 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.554, allocations: 0 / 0.8798 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.5542, allocations: 229.6 kB / 0.88 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5543, allocations: 3.938 kB / 0.88 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/0.5543, allocations: 8 kB / 0.88 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5543, allocations: 3.984 kB / 0.88 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.5544, allocations: 4 kB / 0.88 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5544, allocations: 0 / 0.88 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5544, allocations: 0 / 0.88 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.5546, allocations: 195.4 kB / 0.8802 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.5546, allocations: 96.81 kB / 0.8803 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.5547, allocations: 0 / 0.8803 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.72e-05/0.5548, allocations: 8 kB / 0.8803 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.5548, allocations: 3.984 kB / 0.8803 GB, free: 5.418 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.5548, allocations: 4 kB / 0.8803 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001543/0.555, allocations: 183.1 kB / 0.8805 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.6e-07/0.555, allocations: 0 / 0.8805 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002949/0.5553, allocations: 51.95 kB / 0.8805 GB, free: 5.188 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005974/0.5559, allocations: 0.7779 MB / 0.8813 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.556, allocations: 36 kB / 0.8813 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.556, allocations: 0 / 0.8813 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.556e-05/0.5561, allocations: 23.98 kB / 0.8814 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.5564, allocations: 40.64 kB / 0.8814 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005621/0.557, allocations: 283.8 kB / 0.8817 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.5573, allocations: 0.7394 MB / 0.8824 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.152e-05/0.5574, allocations: 17.12 kB / 0.8824 GB, free: 3.191 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.5575, allocations: 47.42 kB / 0.8824 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5575, allocations: 0 / 0.8824 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.5739, allocations: 4.199 MB / 0.8865 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.5742, allocations: 179.7 kB / 0.8867 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.46, allocations: 0 / 0.8867 GB, free: 14.93 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)