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.0009831/0.0009832, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001002/0.001002, allocations: 194 kB / 16.25 MB, free: 6.617 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.224/1.224, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001947/0.001947, allocations: 278.6 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8836/0.8836, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 92.19 kB / 0.5948 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1233, allocations: 86.98 MB / 0.6797 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002972/0.1263, allocations: 1.758 MB / 0.6815 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006704/0.127, allocations: 470.2 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.1271, allocations: 0 / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.1274, allocations: 151.6 kB / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.09e-05/0.1275, allocations: 47.8 kB / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1278, allocations: 55.88 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.1279, allocations: 103.5 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.1279, allocations: 7.984 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.335e-05/0.128, allocations: 39.78 kB / 0.6823 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.512e-05/0.1281, allocations: 71.69 kB / 0.6824 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1281, allocations: 4 kB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1282, allocations: 83.84 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.1283, allocations: 51.86 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.1284, allocations: 59.56 kB / 0.6825 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1286, allocations: 187.3 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1286, allocations: 0 / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1286, allocations: 0 / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1286, allocations: 0 / 0.6827 GB, free: 13.88 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.0004821/0.1291, allocations: 482.3 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1291, allocations: 12.02 kB / 0.6832 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.1292, allocations: 34.75 kB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.1292, allocations: 24.66 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1293, allocations: 207.8 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1294, allocations: 8.375 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.1294, allocations: 384 / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1295, allocations: 57.92 kB / 0.6835 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1295, allocations: 0 / 0.6835 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.1296, allocations: 8 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1296, allocations: 0 / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.1297, allocations: 39.95 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.1301, allocations: 316.7 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.1302, allocations: 50.48 kB / 0.6839 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.1303, allocations: 24.91 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.1304, allocations: 7.984 kB / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.1304, allocations: 30.56 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.1304, allocations: 4 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003284/0.1307, allocations: 105.5 kB / 0.6841 GB, free: 12.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.1308, allocations: 51.41 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.131, allocations: 258.7 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.131, allocations: 29.64 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.061e-05/0.1311, allocations: 132.1 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.1311, allocations: 3.906 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.1311, allocations: 21.7 kB / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.1312, allocations: 334.9 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.1313, allocations: 19.97 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.1314, allocations: 19.98 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.1315, allocations: 48.75 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1316, allocations: 0 / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.1318, allocations: 97.38 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1318, allocations: 8 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1318, allocations: 0 / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1318, allocations: 0 / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.1319, allocations: 15.92 kB / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1319, allocations: 0 / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.132, allocations: 4 kB / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.132, allocations: 4 kB / 0.6851 GB, free: 11.24 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.285e-05/0.1321, allocations: 143.1 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.1321, allocations: 15.81 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.1324, allocations: 90.52 kB / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1324, allocations: 0 / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1324, allocations: 4 kB / 0.6853 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1324, allocations: 0 / 0.6853 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1326, allocations: 213.5 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1326, allocations: 4.031 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.1326, allocations: 4 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1326, allocations: 4 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.1326, allocations: 3.938 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1327, allocations: 4 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1327, allocations: 0 / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1329, allocations: 195.2 kB / 0.6857 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.1329, allocations: 92.91 kB / 0.6858 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.133, allocations: 0 / 0.6858 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.1331, allocations: 7.984 kB / 0.6858 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.1331, allocations: 4 kB / 0.6858 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1331, allocations: 0 / 0.6858 GB, free: 10.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.1332, allocations: 189.9 kB / 0.686 GB, free: 10.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1333, allocations: 0 / 0.686 GB, free: 10.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1335, allocations: 32 kB / 0.686 GB, free: 10.16 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.0004982/0.134, allocations: 0.7589 MB / 0.6868 GB, free: 9.371 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1342, allocations: 47.98 kB / 0.6868 GB, free: 9.324 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1342, allocations: 0 / 0.6868 GB, free: 9.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.1343, allocations: 19.98 kB / 0.6868 GB, free: 9.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.1347, allocations: 44.45 kB / 0.6869 GB, free: 9.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.1354, allocations: 424.1 kB / 0.6873 GB, free: 8.809 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.1356, allocations: 0.7353 MB / 0.688 GB, free: 8.047 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.672e-05/0.1357, allocations: 7.938 kB / 0.688 GB, free: 8.039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.1357, allocations: 51.42 kB / 0.6881 GB, free: 7.988 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1357, allocations: 0 / 0.6881 GB, free: 7.988 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.1629, allocations: 3.756 MB / 0.6917 GB, free: 4.445 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.1631, allocations: 238.7 kB / 0.692 GB, free: 4.188 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/1.773, allocations: 0 / 0.692 GB, free: 4.188 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)