Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",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.005131/0.005131, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.001201/0.001201, allocations: 203.3 kB / 16.68 MB, free: 5.445 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.113 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 286.8 kB / 290.8 MB, free: 1.719 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9021/0.9021, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 93.92 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1445, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002587/0.1471, allocations: 1.696 MB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1485, allocations: 1.126 MB / 0.7686 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.1486, allocations: 0 / 0.7686 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.149, allocations: 151.4 kB / 0.7688 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.467e-05/0.1491, allocations: 55.72 kB / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.1495, allocations: 159.4 kB / 0.769 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.1496, allocations: 107.5 kB / 0.7691 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.1497, allocations: 8.266 kB / 0.7691 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.1497, allocations: 35.91 kB / 0.7691 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.143e-05/0.1498, allocations: 59.69 kB / 0.7692 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1499, allocations: 4 kB / 0.7692 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.1502, allocations: 231.6 kB / 0.7694 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.1503, allocations: 55.81 kB / 0.7695 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.774e-05/0.1504, allocations: 67.55 kB / 0.7695 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.1508, allocations: 310.8 kB / 0.7698 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1508, allocations: 0 / 0.7698 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1508, allocations: 0 / 0.7698 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.391e-06/0.1508, allocations: 3.984 kB / 0.7698 GB, free: 4.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.000582/0.1514, allocations: 0.5056 MB / 0.7703 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1515, allocations: 8.031 kB / 0.7703 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.1515, allocations: 38.75 kB / 0.7704 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.1515, allocations: 24.8 kB / 0.7704 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.1517, allocations: 215.9 kB / 0.7706 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1517, allocations: 384 / 0.7706 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.1517, allocations: 4.375 kB / 0.7706 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1519, allocations: 85.59 kB / 0.7707 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.152, allocations: 0 / 0.7707 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.152, allocations: 0 / 0.7707 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.152, allocations: 0 / 0.7707 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.1522, allocations: 103.9 kB / 0.7708 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.1527, allocations: 376.8 kB / 0.7712 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1529, allocations: 98.53 kB / 0.7712 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.153, allocations: 52.89 kB / 0.7713 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.804e-05/0.1531, allocations: 23.98 kB / 0.7713 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.1531, allocations: 30.56 kB / 0.7713 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 3.366e-06/0.1531, allocations: 0 / 0.7713 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004321/0.1535, allocations: 197.4 kB / 0.7715 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.1536, allocations: 51.41 kB / 0.7716 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.1538, allocations: 262.8 kB / 0.7718 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.1538, allocations: 29.7 kB / 0.7719 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.1539, allocations: 136.1 kB / 0.772 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.1539, allocations: 15.88 kB / 0.772 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.154, allocations: 9.719 kB / 0.772 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1541, allocations: 338.8 kB / 0.7723 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1542, allocations: 47.95 kB / 0.7724 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.1543, allocations: 51.97 kB / 0.7724 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1545, allocations: 100.7 kB / 0.7725 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1545, allocations: 0 / 0.7725 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002597/0.1548, allocations: 145.5 kB / 0.7727 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1548, allocations: 4 kB / 0.7727 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1548, allocations: 4.094 kB / 0.7727 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1549, allocations: 4 kB / 0.7727 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.506e-05/0.1549, allocations: 11.98 kB / 0.7727 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.155, allocations: 3.938 kB / 0.7727 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.155, allocations: 4 kB / 0.7727 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.155, allocations: 7.984 kB / 0.7727 GB, free: 1.719 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.82e-05/0.1551, allocations: 138.4 kB / 0.7728 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.1552, allocations: 15.91 kB / 0.7729 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.1555, allocations: 170.4 kB / 0.773 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1555, allocations: 0 / 0.773 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1555, allocations: 4 kB / 0.773 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1556, allocations: 48 / 0.773 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.1558, allocations: 249.5 kB / 0.7733 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1558, allocations: 0 / 0.7733 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.518e-05/0.1559, allocations: 11.98 kB / 0.7733 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1559, allocations: 0 / 0.7733 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1559, allocations: 4 kB / 0.7733 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1559, allocations: 0 / 0.7733 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1559, allocations: 0 / 0.7733 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.1562, allocations: 247.3 kB / 0.7735 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.1563, allocations: 96.95 kB / 0.7736 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.1563, allocations: 4 kB / 0.7736 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.1564, allocations: 8 kB / 0.7736 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.1564, allocations: 11.98 kB / 0.7736 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1564, allocations: 0 / 0.7736 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001497/0.1566, allocations: 193.9 kB / 0.7738 GB, free: 496 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1566, allocations: 0 / 0.7738 GB, free: 496 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000319/0.1569, allocations: 67.75 kB / 0.7739 GB, free: 428 kB / 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 (3): * Single equations (assignments): 3 * 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.2671/0.424, allocations: 0.8477 MB / 0.7747 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000339/0.4244, allocations: 103.9 kB / 0.7748 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4244, allocations: 1.781 kB / 0.7748 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.4246, allocations: 53.22 kB / 0.7749 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.4251, allocations: 48.02 kB / 0.7749 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007604/0.4258, allocations: 447 kB / 0.7753 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.426, allocations: 0.7345 MB / 0.776 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.506e-05/0.4261, allocations: 10.88 kB / 0.7761 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.4261, allocations: 52.73 kB / 0.7761 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.4261, allocations: 0 / 0.7761 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.445, allocations: 4.577 MB / 0.7806 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.589, allocations: 17.44 kB / 0.7806 GB, free: 13.21 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi_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_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)