Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",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.7916/0.7916, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001087/0.001087, allocations: 175.8 kB / 182.2 MB, free: 9.461 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.403/1.403, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009237/0.0009234, allocations: 84.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00182/0.00182, allocations: 275 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.833e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.507, allocations: 82.78 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.6543, allocations: 109.8 MB / 0.8647 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.6547, allocations: 79.94 kB / 0.8647 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01205/0.6668, allocations: 4.739 MB / 0.8694 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6668, allocations: 0 / 0.8694 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.6668, allocations: 0 / 0.8694 GB, free: 13.17 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.0004576/0.6673, allocations: 438 kB / 0.8698 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.6673, allocations: 8.031 kB / 0.8698 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.6674, allocations: 19.72 kB / 0.8698 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.6676, allocations: 210.6 kB / 0.87 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.6676, allocations: 0 / 0.87 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.6676, allocations: 0 / 0.87 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.005e-05/0.6677, allocations: 20 kB / 0.87 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.211e-05/0.6678, allocations: 49.67 kB / 0.8701 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.6678, allocations: 0 / 0.8701 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.6678, allocations: 3.938 kB / 0.8701 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.6678, allocations: 0 / 0.8701 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.6683, allocations: 293.4 kB / 0.8704 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.6684, allocations: 38.56 kB / 0.8704 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.6685, allocations: 12.92 kB / 0.8704 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.6685, allocations: 11.92 kB / 0.8704 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.6685, allocations: 34.56 kB / 0.8705 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.6685, allocations: 0 / 0.8705 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002153/0.6688, allocations: 69.34 kB / 0.8705 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.6688, allocations: 51.41 kB / 0.8706 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.669, allocations: 218.4 kB / 0.8708 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.6691, allocations: 25.7 kB / 0.8708 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/0.6692, allocations: 136.1 kB / 0.8709 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.6692, allocations: 3.906 kB / 0.8709 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.6692, allocations: 0 / 0.8709 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6694, allocations: 334.8 kB / 0.8713 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.6694, allocations: 11.98 kB / 0.8713 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-05/0.6694, allocations: 8 kB / 0.8713 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.6695, allocations: 19.98 kB / 0.8713 GB, free: 11 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.6695, allocations: 0 / 0.8713 GB, free: 11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000113/0.6696, allocations: 65.5 kB / 0.8714 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6696, allocations: 8 kB / 0.8714 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.6696, allocations: 0 / 0.8714 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.6697, allocations: 0 / 0.8714 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.6698, allocations: 15.92 kB / 0.8714 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.6698, allocations: 0 / 0.8714 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.99e-05/0.6699, allocations: 12.03 kB / 0.8714 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.6699, allocations: 0 / 0.8714 GB, free: 10.89 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 8.128e-05/0.67, allocations: 108.9 kB / 0.8715 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001242/0.6701, allocations: 69.41 kB / 0.8716 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.6701, allocations: 15.81 kB / 0.8716 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.6703, allocations: 74.86 kB / 0.8717 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6703, allocations: 3.938 kB / 0.8717 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.6703, allocations: 4.062 kB / 0.8717 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6703, allocations: 4 kB / 0.8717 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.6705, allocations: 190.1 kB / 0.8718 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6705, allocations: 0 / 0.8718 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.769e-05/0.6706, allocations: 12 kB / 0.8719 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6706, allocations: 3.984 kB / 0.8719 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.6706, allocations: 3.984 kB / 0.8719 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.6707, allocations: 0 / 0.8719 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6707, allocations: 0 / 0.8719 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.6708, allocations: 175.2 kB / 0.872 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.6709, allocations: 92.86 kB / 0.8721 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.6709, allocations: 0 / 0.8721 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.671, allocations: 11.98 kB / 0.8721 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.6711, allocations: 0 / 0.8721 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.6711, allocations: 4 kB / 0.8721 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001445/0.6712, allocations: 178 kB / 0.8723 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6713, allocations: 4.031 kB / 0.8723 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002661/0.6715, allocations: 35.94 kB / 0.8723 GB, free: 9.828 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.0005676/0.6721, allocations: 0.7512 MB / 0.8731 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.164e-05/0.6722, allocations: 24 kB / 0.8731 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.6722, allocations: 0 / 0.8731 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.542e-05/0.6722, allocations: 15.92 kB / 0.8731 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.6726, allocations: 39.56 kB / 0.8732 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.6732, allocations: 270.8 kB / 0.8734 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.6735, allocations: 0.7362 MB / 0.8741 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.6736, allocations: 8.188 kB / 0.8741 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.6736, allocations: 43.42 kB / 0.8742 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of SimCode: time 2.194e-06/0.6737, allocations: 4 kB / 0.8742 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.6951, allocations: 3.346 MB / 0.8775 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.6954, allocations: 170.2 kB / 0.8776 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.452, allocations: 1.875 kB / 0.8776 GB, free: 4.352 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)