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.001617/0.001617, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001816/0.001816, allocations: 190.3 kB / 16.13 MB, free: 6.66 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.222/1.222, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001961/0.001961, allocations: 279.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.856/0.856, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 91.91 kB / 0.5946 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1275, allocations: 86.98 MB / 0.6795 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002469/0.13, allocations: 1.764 MB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005665/0.1306, allocations: 480.1 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.1307, allocations: 0.7188 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.131, allocations: 159.6 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.871e-05/0.1311, allocations: 44.67 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.1312, allocations: 47.88 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1314, allocations: 208 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.89e-05/0.1314, allocations: 9.281 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.481e-05/0.1315, allocations: 27.8 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.1316, allocations: 71.69 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1316, allocations: 4.781 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1317, allocations: 79.84 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.1318, allocations: 59.84 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.1319, allocations: 63.56 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.132, allocations: 171.4 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1321, allocations: 11.92 kB / 0.6826 GB, free: 13.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.1321, allocations: 0 / 0.6826 GB, free: 13.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1321, allocations: 0 / 0.6826 GB, free: 13.92 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.0004539/0.1325, allocations: 472.1 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1326, allocations: 12.03 kB / 0.6831 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.457e-05/0.1326, allocations: 30.75 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.1326, allocations: 28.64 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1328, allocations: 211.8 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-06/0.1328, allocations: 8.312 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.1328, allocations: 384 / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1329, allocations: 57.98 kB / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.1329, allocations: 0 / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.133, allocations: 0 / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.133, allocations: 0 / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1331, allocations: 47.94 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1335, allocations: 316.7 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1336, allocations: 50.48 kB / 0.6838 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.1337, allocations: 28.91 kB / 0.6838 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1337, allocations: 4 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1338, allocations: 38.48 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1338, allocations: 0 / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003163/0.1341, allocations: 105.5 kB / 0.684 GB, free: 12.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.1341, allocations: 55.34 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1343, allocations: 262.8 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.1344, allocations: 25.7 kB / 0.6843 GB, free: 12.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.1344, allocations: 128.1 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.1344, allocations: 7.906 kB / 0.6844 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.1345, allocations: 17.7 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.1346, allocations: 330.8 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.909e-05/0.1347, allocations: 15.98 kB / 0.6848 GB, free: 11.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.1347, allocations: 27.97 kB / 0.6848 GB, free: 11.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1349, allocations: 52.75 kB / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1349, allocations: 0 / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001933/0.1351, allocations: 93.38 kB / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1351, allocations: 7.938 kB / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.1351, allocations: 8.031 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/0.1351, allocations: 0 / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.1352, allocations: 8 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.1352, allocations: 0 / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.022e-05/0.1353, allocations: 7.984 kB / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.1353, allocations: 0 / 0.685 GB, free: 11.29 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.031e-05/0.1354, allocations: 143.1 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.1354, allocations: 15.81 kB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.1357, allocations: 94.52 kB / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1357, allocations: 0 / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1357, allocations: 0 / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1357, allocations: 0 / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.1359, allocations: 213.5 kB / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1359, allocations: 0 / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.1359, allocations: 15.92 kB / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1359, allocations: 0 / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.1359, allocations: 4.031 kB / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1359, allocations: 0 / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.136, allocations: 0 / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.1362, allocations: 191.2 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.1362, allocations: 92.92 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.1363, allocations: 3.938 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.1363, allocations: 8.031 kB / 0.6857 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.1364, allocations: 3.984 kB / 0.6857 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.1364, allocations: 0 / 0.6857 GB, free: 10.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.1365, allocations: 190 kB / 0.6859 GB, free: 10.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1365, allocations: 0 / 0.6859 GB, free: 10.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1368, allocations: 35.98 kB / 0.686 GB, free: 10.2 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.0004968/0.1373, allocations: 0.7472 MB / 0.6867 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1375, allocations: 43.95 kB / 0.6867 GB, free: 9.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1375, allocations: 0 / 0.6867 GB, free: 9.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.1376, allocations: 28.08 kB / 0.6868 GB, free: 9.355 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.138, allocations: 41.2 kB / 0.6868 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.1386, allocations: 425.8 kB / 0.6872 GB, free: 8.859 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1388, allocations: 0.7329 MB / 0.6879 GB, free: 8.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.642e-05/0.1389, allocations: 7.984 kB / 0.6879 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.1389, allocations: 43.42 kB / 0.688 GB, free: 8.051 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1389, allocations: 0 / 0.688 GB, free: 8.051 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.245/3.384, allocations: 3.691 MB / 0.6916 GB, free: 4.551 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003044/3.385, allocations: 231.3 kB / 0.6918 GB, free: 4.297 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/5.022, allocations: 6.344 kB / 0.6918 GB, free: 4.297 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)