Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",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.001295/0.001295, allocations: 108 kB / 15.6 MB, free: 132 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.001405/0.001405, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002472/0.002472, allocations: 286.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 104.8 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1554, allocations: 89.15 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002916/0.1584, allocations: 1.706 MB / 0.6953 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007298/0.1591, allocations: 0.5165 MB / 0.6958 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.1592, allocations: 0 / 0.6958 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.1596, allocations: 143.3 kB / 0.6959 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/0.1596, allocations: 55.73 kB / 0.696 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.1599, allocations: 71.72 kB / 0.696 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.16, allocations: 99.5 kB / 0.6961 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.1601, allocations: 8.281 kB / 0.6961 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.675e-05/0.1601, allocations: 35.91 kB / 0.6962 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.1602, allocations: 51.7 kB / 0.6962 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1603, allocations: 4 kB / 0.6962 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.1605, allocations: 83.84 kB / 0.6963 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.1605, allocations: 55.8 kB / 0.6964 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.491e-05/0.1606, allocations: 63.61 kB / 0.6964 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1609, allocations: 195.2 kB / 0.6966 GB, free: 1.145 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1609, allocations: 0 / 0.6966 GB, free: 1.145 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1609, allocations: 0 / 0.6966 GB, free: 1.145 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1609, allocations: 0 / 0.6966 GB, free: 1.145 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.0006345/0.1616, allocations: 482.2 kB / 0.6971 GB, free: 0.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1616, allocations: 8.031 kB / 0.6971 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.1616, allocations: 38.67 kB / 0.6971 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.1617, allocations: 20.75 kB / 0.6971 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.1619, allocations: 215.6 kB / 0.6973 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1619, allocations: 4.375 kB / 0.6973 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.1619, allocations: 384 / 0.6973 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1621, allocations: 65.98 kB / 0.6974 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1621, allocations: 4 kB / 0.6974 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.1621, allocations: 0 / 0.6974 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1621, allocations: 3.984 kB / 0.6974 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.1623, allocations: 59.95 kB / 0.6975 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.1628, allocations: 328.8 kB / 0.6978 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.1629, allocations: 70.53 kB / 0.6978 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.649e-05/0.163, allocations: 32.91 kB / 0.6979 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.1631, allocations: 15.92 kB / 0.6979 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1631, allocations: 34.56 kB / 0.6979 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1631, allocations: 0 / 0.6979 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000425/0.1636, allocations: 137.4 kB / 0.6981 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1636, allocations: 51.41 kB / 0.6981 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.1639, allocations: 258.7 kB / 0.6983 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1639, allocations: 25.7 kB / 0.6984 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.164, allocations: 144 kB / 0.6985 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.164, allocations: 0 / 0.6985 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.164, allocations: 17.7 kB / 0.6985 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1642, allocations: 331 kB / 0.6988 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/0.1643, allocations: 31.97 kB / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.1644, allocations: 23.98 kB / 0.6989 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.1646, allocations: 68.75 kB / 0.699 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1646, allocations: 0 / 0.699 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002352/0.1648, allocations: 117.4 kB / 0.6991 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1648, allocations: 4 kB / 0.6991 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1649, allocations: 3.984 kB / 0.6991 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1649, allocations: 0 / 0.6991 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.118e-05/0.165, allocations: 11.98 kB / 0.6991 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.165, allocations: 0 / 0.6991 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.165, allocations: 4 kB / 0.6991 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.165, allocations: 3.984 kB / 0.6991 GB, free: 14.35 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.0001172/0.1652, allocations: 141.8 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.1652, allocations: 15.81 kB / 0.6992 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.1655, allocations: 122.4 kB / 0.6994 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1655, allocations: 0 / 0.6994 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1655, allocations: 0 / 0.6994 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1655, allocations: 4 kB / 0.6994 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.1658, allocations: 221.6 kB / 0.6996 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1658, allocations: 4 kB / 0.6996 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.1658, allocations: 4 kB / 0.6996 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1658, allocations: 0 / 0.6996 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1658, allocations: 0 / 0.6996 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.1659, allocations: 4 kB / 0.6996 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1659, allocations: 3.984 kB / 0.6996 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.1661, allocations: 203.2 kB / 0.6998 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.1662, allocations: 88.92 kB / 0.6999 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1662, allocations: 4 kB / 0.6999 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.1663, allocations: 7.984 kB / 0.6999 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.1664, allocations: 4 kB / 0.6999 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.1664, allocations: 3.938 kB / 0.6999 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001731/0.1666, allocations: 193.9 kB / 0.7001 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1666, allocations: 3.938 kB / 0.7001 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002569/0.1668, allocations: 43.97 kB / 0.7001 GB, free: 13.2 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.0006439/0.1675, allocations: 0.7629 MB / 0.7009 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1677, allocations: 63.98 kB / 0.7009 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1677, allocations: 3.938 kB / 0.7009 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.862e-05/0.1678, allocations: 35.97 kB / 0.701 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.1683, allocations: 42 kB / 0.701 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000722/0.169, allocations: 400 kB / 0.7014 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1694, allocations: 0.7392 MB / 0.7021 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.272e-05/0.1695, allocations: 11.98 kB / 0.7021 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.1695, allocations: 51.36 kB / 0.7022 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1695, allocations: 0 / 0.7022 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.1946, allocations: 3.916 MB / 0.706 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.566, allocations: 10.12 kB / 0.706 GB, free: 7.258 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)