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.004279/0.004279, allocations: 100.5 kB / 15.73 MB, free: 6.453 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.00116/0.00116, allocations: 184.9 kB / 16.67 MB, free: 6.367 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 286.8 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8726/0.8726, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 95.84 kB / 0.6809 GB, free: 48 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1638, allocations: 86.97 MB / 0.7659 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002824/0.1667, allocations: 1.712 MB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007345/0.1674, allocations: 0.5063 MB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.1675, allocations: 0 / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.1679, allocations: 155.6 kB / 0.7682 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.448e-05/0.168, allocations: 55.73 kB / 0.7682 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.1683, allocations: 63.73 kB / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1684, allocations: 99.5 kB / 0.7684 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.1685, allocations: 12 kB / 0.7684 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.1685, allocations: 35.83 kB / 0.7684 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.722e-05/0.1686, allocations: 55.64 kB / 0.7685 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1687, allocations: 4 kB / 0.7685 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.1688, allocations: 91.84 kB / 0.7686 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.1689, allocations: 51.86 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.169, allocations: 67.55 kB / 0.7687 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.1693, allocations: 191.3 kB / 0.7689 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1693, allocations: 4 kB / 0.7689 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1693, allocations: 0 / 0.7689 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.1693, allocations: 0 / 0.7689 GB, free: 5.891 MB / 0.5606 GB 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.0005967/0.1699, allocations: 490.1 kB / 0.7694 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1699, allocations: 8.031 kB / 0.7694 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/0.17, allocations: 30.75 kB / 0.7694 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.17, allocations: 20.69 kB / 0.7694 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.1702, allocations: 219.7 kB / 0.7696 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.1702, allocations: 384 / 0.7696 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.1702, allocations: 384 / 0.7696 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.1704, allocations: 69.98 kB / 0.7697 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1704, allocations: 0 / 0.7697 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1704, allocations: 3.984 kB / 0.7697 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1704, allocations: 0 / 0.7697 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.1706, allocations: 55.95 kB / 0.7697 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.1711, allocations: 336.8 kB / 0.7701 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.1712, allocations: 58.55 kB / 0.7701 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.307e-05/0.1713, allocations: 36.89 kB / 0.7702 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.1714, allocations: 12 kB / 0.7702 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.1714, allocations: 34.56 kB / 0.7702 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1714, allocations: 0 / 0.7702 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003774/0.1718, allocations: 141.3 kB / 0.7703 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.1718, allocations: 51.41 kB / 0.7704 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.1721, allocations: 258.7 kB / 0.7706 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1721, allocations: 25.83 kB / 0.7707 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.1722, allocations: 136.1 kB / 0.7708 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.1722, allocations: 7.906 kB / 0.7708 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.1722, allocations: 9.719 kB / 0.7708 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1724, allocations: 334.8 kB / 0.7711 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/0.1725, allocations: 23.98 kB / 0.7712 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.25e-05/0.1725, allocations: 31.97 kB / 0.7712 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.1727, allocations: 72.75 kB / 0.7713 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1727, allocations: 0 / 0.7713 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002167/0.1729, allocations: 109.4 kB / 0.7714 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.173, allocations: 8 kB / 0.7714 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.173, allocations: 7.922 kB / 0.7714 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.173, allocations: 0 / 0.7714 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.1731, allocations: 12.03 kB / 0.7714 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.1731, allocations: 0 / 0.7714 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.1732, allocations: 7.984 kB / 0.7714 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1732, allocations: 0 / 0.7714 GB, free: 3.102 MB / 0.5606 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 9.454e-05/0.1733, allocations: 138.4 kB / 0.7715 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.1733, allocations: 19.72 kB / 0.7715 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.1736, allocations: 122.5 kB / 0.7717 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1736, allocations: 0 / 0.7717 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1736, allocations: 0 / 0.7717 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1737, allocations: 7.969 kB / 0.7717 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.1739, allocations: 221.5 kB / 0.7719 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1739, allocations: 0 / 0.7719 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.1739, allocations: 11.98 kB / 0.7719 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1739, allocations: 0 / 0.7719 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.174, allocations: 0 / 0.7719 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.174, allocations: 0 / 0.7719 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.174, allocations: 4.031 kB / 0.7719 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.1742, allocations: 203.2 kB / 0.7721 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.1743, allocations: 92.83 kB / 0.7722 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.1743, allocations: 4 kB / 0.7722 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.1744, allocations: 7.984 kB / 0.7722 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.1745, allocations: 4.031 kB / 0.7722 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.1745, allocations: 0 / 0.7722 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001452/0.1746, allocations: 197.9 kB / 0.7724 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1746, allocations: 0 / 0.7724 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002596/0.1749, allocations: 39.94 kB / 0.7724 GB, free: 1.945 MB / 0.5606 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.0005663/0.1755, allocations: 0.7614 MB / 0.7732 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1757, allocations: 59.95 kB / 0.7732 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1757, allocations: 3.938 kB / 0.7732 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.091e-05/0.1758, allocations: 35.91 kB / 0.7733 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.1762, allocations: 54.67 kB / 0.7733 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000688/0.1769, allocations: 388 kB / 0.7737 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2873/0.4643, allocations: 0.7291 MB / 0.7744 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.792e-05/0.4644, allocations: 10.42 kB / 0.7744 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.4644, allocations: 51.7 kB / 0.7744 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.4645, allocations: 0 / 0.7744 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.4837, allocations: 3.938 MB / 0.7783 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.663, allocations: 10.09 kB / 0.7783 GB, free: 13.82 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)