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.001271/0.001271, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002371/0.002371, allocations: 286.5 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 102.5 kB / 0.6066 GB, free: 24.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1496, allocations: 89.13 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002974/0.1526, allocations: 1.709 MB / 0.6953 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006955/0.1534, allocations: 475.6 kB / 0.6957 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.1534, allocations: 0 / 0.6957 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.1538, allocations: 151.3 kB / 0.6959 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.1539, allocations: 51.73 kB / 0.6959 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1541, allocations: 63.8 kB / 0.696 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1542, allocations: 95.52 kB / 0.6961 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.1543, allocations: 12.27 kB / 0.6961 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.608e-05/0.1544, allocations: 27.86 kB / 0.6961 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.634e-05/0.1544, allocations: 55.69 kB / 0.6962 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1545, allocations: 4 kB / 0.6962 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.1546, allocations: 83.84 kB / 0.6962 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.421e-05/0.1547, allocations: 51.88 kB / 0.6963 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.1548, allocations: 63.55 kB / 0.6963 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.155, allocations: 191.2 kB / 0.6965 GB, free: 1.223 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1551, allocations: 4 kB / 0.6965 GB, free: 1.219 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1551, allocations: 0 / 0.6965 GB, free: 1.219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1551, allocations: 0 / 0.6965 GB, free: 1.219 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.0005857/0.1557, allocations: 478.2 kB / 0.697 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1557, allocations: 8.031 kB / 0.697 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.1557, allocations: 34.69 kB / 0.697 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.1558, allocations: 28.73 kB / 0.6971 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.156, allocations: 215.7 kB / 0.6973 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.156, allocations: 8.359 kB / 0.6973 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.156, allocations: 384 / 0.6973 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1562, allocations: 53.98 kB / 0.6973 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1562, allocations: 0 / 0.6973 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.1562, allocations: 4 kB / 0.6973 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1562, allocations: 3.984 kB / 0.6973 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.1564, allocations: 43.95 kB / 0.6974 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.1569, allocations: 312.8 kB / 0.6977 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.157, allocations: 42.55 kB / 0.6977 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.314e-05/0.1571, allocations: 28.91 kB / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.1572, allocations: 4 kB / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1572, allocations: 30.56 kB / 0.6978 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.1572, allocations: 4 kB / 0.6978 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003732/0.1576, allocations: 109.4 kB / 0.6979 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1576, allocations: 51.41 kB / 0.6979 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.1579, allocations: 266.8 kB / 0.6982 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1579, allocations: 25.7 kB / 0.6982 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.158, allocations: 140 kB / 0.6983 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/0.158, allocations: 0 / 0.6983 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.1581, allocations: 17.72 kB / 0.6984 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1582, allocations: 330.8 kB / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.1583, allocations: 15.98 kB / 0.6987 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.309e-05/0.1584, allocations: 27.97 kB / 0.6987 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.1586, allocations: 44.77 kB / 0.6988 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1586, allocations: 3.938 kB / 0.6988 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002215/0.1588, allocations: 97.31 kB / 0.6989 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1588, allocations: 12.08 kB / 0.6989 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1588, allocations: 4 kB / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1589, allocations: 0 / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.1589, allocations: 4 kB / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.159, allocations: 0 / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.125e-05/0.159, allocations: 7.984 kB / 0.6989 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.159, allocations: 4 kB / 0.6989 GB, free: 14.58 MB / 0.4981 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 () * 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 0.0001057/0.1591, allocations: 137.8 kB / 0.699 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.1592, allocations: 15.81 kB / 0.699 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.1594, allocations: 98.45 kB / 0.6991 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1595, allocations: 0 / 0.6991 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1595, allocations: 4 kB / 0.6991 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1595, allocations: 0 / 0.6991 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.1597, allocations: 213.5 kB / 0.6993 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1597, allocations: 0 / 0.6993 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.1598, allocations: 7.984 kB / 0.6993 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1598, allocations: 4 kB / 0.6993 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1598, allocations: 4.031 kB / 0.6993 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1598, allocations: 0 / 0.6993 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1598, allocations: 4 kB / 0.6994 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.16, allocations: 183.3 kB / 0.6995 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.1601, allocations: 92.91 kB / 0.6996 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.1601, allocations: 0 / 0.6996 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.1602, allocations: 8.031 kB / 0.6996 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.1603, allocations: 11.92 kB / 0.6996 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.1603, allocations: 4 kB / 0.6996 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001665/0.1605, allocations: 185.9 kB / 0.6998 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1605, allocations: 0 / 0.6998 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002664/0.1607, allocations: 43.98 kB / 0.6999 GB, free: 13.48 MB / 0.4981 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 () * 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.000617/0.1614, allocations: 0.7395 MB / 0.7006 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1616, allocations: 47.89 kB / 0.7006 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1616, allocations: 0 / 0.7006 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-05/0.1617, allocations: 28.02 kB / 0.7007 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.1621, allocations: 45.2 kB / 0.7007 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.1628, allocations: 388 kB / 0.7011 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1632, allocations: 0.7352 MB / 0.7018 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.687e-05/0.1632, allocations: 7.984 kB / 0.7018 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.1633, allocations: 56.28 kB / 0.7018 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1633, allocations: 0 / 0.7018 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.1877, allocations: 3.894 MB / 0.7056 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/7.571, allocations: 8.047 kB / 0.7057 GB, free: 7.633 MB / 0.4981 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)