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.007278/0.007278, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.001205/0.001205, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002204/0.002204, allocations: 285.7 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9288/0.9288, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 95.92 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1663, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.00305/0.1694, allocations: 1.705 MB / 0.7675 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008264/0.1702, allocations: 0.4986 MB / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.1703, allocations: 0 / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.1708, allocations: 151.6 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.1709, allocations: 63.67 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1712, allocations: 67.78 kB / 0.7683 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1713, allocations: 99.5 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.1714, allocations: 15.91 kB / 0.7684 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.642e-05/0.1715, allocations: 39.78 kB / 0.7685 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.508e-05/0.1716, allocations: 47.77 kB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.1716, allocations: 4 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.1718, allocations: 87.84 kB / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.1719, allocations: 55.86 kB / 0.7686 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.1719, allocations: 63.56 kB / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.1722, allocations: 191.3 kB / 0.7689 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1722, allocations: 0 / 0.7689 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.836e-06/0.1722, allocations: 0 / 0.7689 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.1723, allocations: 3.938 kB / 0.7689 GB, free: 5.844 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.0005725/0.1728, allocations: 490.1 kB / 0.7694 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1729, allocations: 8.031 kB / 0.7694 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.1729, allocations: 30.75 kB / 0.7694 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.173, allocations: 24.75 kB / 0.7694 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.1731, allocations: 215.7 kB / 0.7696 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1731, allocations: 4.375 kB / 0.7696 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1731, allocations: 4.375 kB / 0.7696 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1733, allocations: 65.97 kB / 0.7697 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1734, allocations: 0 / 0.7697 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1734, allocations: 0 / 0.7697 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1734, allocations: 0 / 0.7697 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.1736, allocations: 63.89 kB / 0.7697 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.1741, allocations: 336.8 kB / 0.7701 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1742, allocations: 58.55 kB / 0.7701 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.1743, allocations: 36.89 kB / 0.7702 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.1744, allocations: 12 kB / 0.7702 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1744, allocations: 34.55 kB / 0.7702 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.1744, allocations: 0 / 0.7702 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003994/0.1748, allocations: 141.3 kB / 0.7703 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1748, allocations: 51.41 kB / 0.7704 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.1751, allocations: 258.8 kB / 0.7706 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.1751, allocations: 25.7 kB / 0.7707 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.1752, allocations: 136.1 kB / 0.7708 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1752, allocations: 3.906 kB / 0.7708 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.1753, allocations: 9.719 kB / 0.7708 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1754, allocations: 334.8 kB / 0.7711 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.1755, allocations: 27.98 kB / 0.7712 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.331e-05/0.1755, allocations: 35.91 kB / 0.7712 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.1757, allocations: 64.75 kB / 0.7712 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1757, allocations: 7.938 kB / 0.7713 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002045/0.1759, allocations: 109.4 kB / 0.7714 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.176, allocations: 4 kB / 0.7714 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.176, allocations: 96 / 0.7714 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.176, allocations: 4 kB / 0.7714 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.285e-05/0.1761, allocations: 15.98 kB / 0.7714 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1761, allocations: 0 / 0.7714 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.1761, allocations: 4 kB / 0.7714 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.1762, allocations: 0 / 0.7714 GB, free: 3.051 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.428e-05/0.1763, allocations: 142.4 kB / 0.7715 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.1763, allocations: 19.72 kB / 0.7715 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.1766, allocations: 118.4 kB / 0.7717 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1766, allocations: 0 / 0.7717 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1766, allocations: 0 / 0.7717 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1766, allocations: 0 / 0.7717 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.1768, allocations: 217.6 kB / 0.7719 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1768, allocations: 0 / 0.7719 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.1769, allocations: 11.98 kB / 0.7719 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1769, allocations: 0 / 0.7719 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1769, allocations: 0 / 0.7719 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1769, allocations: 4.031 kB / 0.7719 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1769, allocations: 4 kB / 0.7719 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1772, allocations: 211.2 kB / 0.7721 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.1772, allocations: 92.83 kB / 0.7722 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.1772, allocations: 0 / 0.7722 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.1773, allocations: 12.02 kB / 0.7722 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.1774, allocations: 0 / 0.7722 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1774, allocations: 7.984 kB / 0.7722 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001458/0.1775, allocations: 189.9 kB / 0.7724 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1775, allocations: 0 / 0.7724 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002542/0.1778, allocations: 39.94 kB / 0.7724 GB, free: 1.898 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.0005865/0.1784, allocations: 0.7591 MB / 0.7731 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1786, allocations: 71.81 kB / 0.7732 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1786, allocations: 0 / 0.7732 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.559e-05/0.1787, allocations: 27.98 kB / 0.7732 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.1792, allocations: 48.61 kB / 0.7733 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.1799, allocations: 403.9 kB / 0.7737 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.297/0.477, allocations: 0.7301 MB / 0.7744 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.62e-05/0.4771, allocations: 7.266 kB / 0.7744 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.4772, allocations: 48.19 kB / 0.7744 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/0.4772, allocations: 0 / 0.7744 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.4989, allocations: 4.016 MB / 0.7784 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.789, allocations: 10.77 kB / 0.7784 GB, free: 13.73 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)