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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008829/0.0008829, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005261/0.005261, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001668, allocations: 278.4 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.89/0.89, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003813, allocations: 16.55 kB / 0.5988 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.001583/0.1271, allocations: 1.419 MB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006172/0.1277, allocations: 473.8 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.1278, allocations: 0 / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.1281, allocations: 147.7 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.594e-05/0.1282, allocations: 51.73 kB / 0.6873 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.1284, allocations: 43.88 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.1286, allocations: 211.9 kB / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.1286, allocations: 6.312 kB / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.437e-05/0.1287, allocations: 31.84 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1288, allocations: 71.69 kB / 0.6876 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.1288, allocations: 0 / 0.6876 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.129, allocations: 79.84 kB / 0.6877 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.1291, allocations: 56.61 kB / 0.6877 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.1291, allocations: 81.27 kB / 0.6878 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.1293, allocations: 187.9 kB / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1293, allocations: 3.938 kB / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1293, allocations: 5.141 kB / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1294, allocations: 0 / 0.688 GB, free: 12.11 MB / 494.1 MB 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.0004659/0.1298, allocations: 469.9 kB / 0.6885 GB, free: 11.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1299, allocations: 12.03 kB / 0.6885 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.1299, allocations: 30.75 kB / 0.6885 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.1299, allocations: 16.75 kB / 0.6885 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1301, allocations: 219.7 kB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1301, allocations: 4.375 kB / 0.6887 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.1301, allocations: 1.156 kB / 0.6887 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1303, allocations: 63.33 kB / 0.6888 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-06/0.1303, allocations: 0 / 0.6888 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.1303, allocations: 0.875 kB / 0.6888 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1303, allocations: 0 / 0.6888 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.1305, allocations: 62.67 kB / 0.6888 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.1309, allocations: 316.8 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.131, allocations: 54.55 kB / 0.6892 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.1311, allocations: 28.91 kB / 0.6892 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.1312, allocations: 7.984 kB / 0.6892 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1312, allocations: 34.56 kB / 0.6893 GB, free: 10.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.1312, allocations: 0 / 0.6893 GB, free: 10.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003588/0.1316, allocations: 133.3 kB / 0.6894 GB, free: 10.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.1316, allocations: 51.41 kB / 0.6894 GB, free: 10.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.1318, allocations: 254.7 kB / 0.6897 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.1318, allocations: 25.7 kB / 0.6897 GB, free: 10.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.1319, allocations: 128.1 kB / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1319, allocations: 16.02 kB / 0.6898 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.132, allocations: 13.72 kB / 0.6899 GB, free: 10 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.1321, allocations: 326.8 kB / 0.6902 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.1321, allocations: 23.97 kB / 0.6902 GB, free: 9.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.598e-05/0.1322, allocations: 31.98 kB / 0.6902 GB, free: 9.621 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.1324, allocations: 60.69 kB / 0.6903 GB, free: 9.559 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1324, allocations: 0 / 0.6903 GB, free: 9.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002192/0.1326, allocations: 105.5 kB / 0.6904 GB, free: 9.449 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1327, allocations: 10.12 kB / 0.6904 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1327, allocations: 0 / 0.6904 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.1327, allocations: 0 / 0.6904 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.1328, allocations: 8 kB / 0.6904 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1328, allocations: 3.984 kB / 0.6904 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.415e-05/0.1329, allocations: 12.03 kB / 0.6904 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.1329, allocations: 0 / 0.6904 GB, free: 9.418 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.038e-05/0.133, allocations: 143.1 kB / 0.6906 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.133, allocations: 19.72 kB / 0.6906 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.1333, allocations: 114.4 kB / 0.6907 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1333, allocations: 0 / 0.6907 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1333, allocations: 0 / 0.6907 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1333, allocations: 4 kB / 0.6907 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.1335, allocations: 205.6 kB / 0.6909 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1335, allocations: 3.984 kB / 0.6909 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.1335, allocations: 8 kB / 0.6909 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1335, allocations: 4.031 kB / 0.6909 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-06/0.1335, allocations: 0 / 0.6909 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1336, allocations: 0 / 0.6909 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1336, allocations: 0 / 0.6909 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.1338, allocations: 207.2 kB / 0.6911 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.1339, allocations: 92.83 kB / 0.6912 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1339, allocations: 0 / 0.6912 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.134, allocations: 15.98 kB / 0.6912 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.134, allocations: 0 / 0.6912 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.134, allocations: 0 / 0.6912 GB, free: 8.512 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.1342, allocations: 193.9 kB / 0.6914 GB, free: 8.328 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1342, allocations: 4.031 kB / 0.6914 GB, free: 8.324 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1344, allocations: 32 kB / 0.6914 GB, free: 8.293 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005139/0.1349, allocations: 0.7512 MB / 0.6922 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.1352, allocations: 55.89 kB / 0.6922 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1352, allocations: 0 / 0.6922 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.1353, allocations: 32.08 kB / 0.6922 GB, free: 7.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.1357, allocations: 47.08 kB / 0.6923 GB, free: 7.387 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.1363, allocations: 450 kB / 0.6927 GB, free: 6.906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.1366, allocations: 0.7355 MB / 0.6934 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.961e-05/0.1366, allocations: 7.938 kB / 0.6934 GB, free: 6.137 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.1367, allocations: 51.42 kB / 0.6935 GB, free: 6.086 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1367, allocations: 4 kB / 0.6935 GB, free: 6.082 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6096/0.7463, allocations: 3.599 MB / 0.697 GB, free: 2.699 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.7466, allocations: 229.3 kB / 0.6972 GB, free: 2.449 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.577, allocations: 10.59 kB / 0.6972 GB, free: 2.441 MB / 494.1 MB (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/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)