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.004971/0.004971, allocations: 96.53 kB / 15.73 MB, free: 6.051 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.001344/0.001344, allocations: 196.9 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00244/0.00244, allocations: 290.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9404/0.9404, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 92.09 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1406, allocations: 86.98 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002624/0.1432, allocations: 1.7 MB / 0.7676 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1447, allocations: 1.122 MB / 0.7686 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.1448, allocations: 4 kB / 0.7687 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.1451, allocations: 143.4 kB / 0.7688 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.1452, allocations: 55.67 kB / 0.7688 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.1456, allocations: 155.4 kB / 0.769 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.1457, allocations: 111.5 kB / 0.7691 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.1458, allocations: 8.266 kB / 0.7691 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.54e-05/0.1458, allocations: 39.84 kB / 0.7691 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.693e-05/0.1459, allocations: 55.77 kB / 0.7692 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1459, allocations: 4 kB / 0.7692 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.1463, allocations: 231.5 kB / 0.7694 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.1464, allocations: 59.8 kB / 0.7695 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.1464, allocations: 67.55 kB / 0.7695 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.1468, allocations: 302.8 kB / 0.7698 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1468, allocations: 0 / 0.7698 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1468, allocations: 0 / 0.7698 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.1468, allocations: 0 / 0.7698 GB, free: 4.887 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.0006017/0.1474, allocations: 0.5134 MB / 0.7703 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1475, allocations: 8.031 kB / 0.7703 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.1475, allocations: 42.73 kB / 0.7704 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.1476, allocations: 20.8 kB / 0.7704 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.1477, allocations: 219.9 kB / 0.7706 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.1477, allocations: 384 / 0.7706 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1478, allocations: 384 / 0.7706 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.148, allocations: 89.53 kB / 0.7707 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.148, allocations: 0 / 0.7707 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.148, allocations: 4 kB / 0.7707 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.148, allocations: 0 / 0.7707 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.1482, allocations: 91.94 kB / 0.7708 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.1487, allocations: 376.8 kB / 0.7711 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.1489, allocations: 106.5 kB / 0.7712 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.149, allocations: 52.83 kB / 0.7713 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.1491, allocations: 23.98 kB / 0.7713 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1491, allocations: 30.56 kB / 0.7714 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1491, allocations: 0 / 0.7714 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004289/0.1495, allocations: 197.5 kB / 0.7715 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.1496, allocations: 51.41 kB / 0.7716 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.1498, allocations: 262.7 kB / 0.7718 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1499, allocations: 25.7 kB / 0.7719 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.15, allocations: 132.1 kB / 0.772 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.15, allocations: 11.89 kB / 0.772 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.15, allocations: 9.719 kB / 0.772 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1502, allocations: 338.8 kB / 0.7723 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1503, allocations: 55.91 kB / 0.7724 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.677e-05/0.1504, allocations: 51.91 kB / 0.7724 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.1506, allocations: 100.8 kB / 0.7725 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1506, allocations: 0 / 0.7725 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002597/0.1509, allocations: 145.6 kB / 0.7727 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1509, allocations: 4 kB / 0.7727 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1509, allocations: 0 / 0.7727 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1509, allocations: 7.984 kB / 0.7727 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.151, allocations: 4 kB / 0.7727 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.151, allocations: 3.938 kB / 0.7727 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.687e-05/0.1511, allocations: 15.98 kB / 0.7727 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1511, allocations: 4 kB / 0.7727 GB, free: 1.707 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 0.0001186/0.1512, allocations: 142.4 kB / 0.7728 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.1513, allocations: 19.91 kB / 0.7729 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003439/0.1516, allocations: 162.5 kB / 0.773 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1516, allocations: 0 / 0.773 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1517, allocations: 4 kB / 0.773 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1517, allocations: 4.031 kB / 0.773 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.152, allocations: 249.5 kB / 0.7733 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.152, allocations: 4 kB / 0.7733 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.152, allocations: 11.98 kB / 0.7733 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.152, allocations: 0 / 0.7733 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.1521, allocations: 0 / 0.7733 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1521, allocations: 0 / 0.7733 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1521, allocations: 0 / 0.7733 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.1524, allocations: 251.3 kB / 0.7735 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.1525, allocations: 92.97 kB / 0.7736 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.1525, allocations: 0 / 0.7736 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1526, allocations: 7.984 kB / 0.7736 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1526, allocations: 4 kB / 0.7736 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1527, allocations: 4 kB / 0.7736 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000172/0.1528, allocations: 189.9 kB / 0.7738 GB, free: 492 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1528, allocations: 0 / 0.7738 GB, free: 492 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003923/0.1532, allocations: 75.73 kB / 0.7739 GB, free: 416 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.2519/0.4052, allocations: 0.8544 MB / 0.7747 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.4055, allocations: 97.97 kB / 0.7748 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4056, allocations: 0.5938 kB / 0.7748 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.4057, allocations: 57.11 kB / 0.7749 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.4062, allocations: 47.52 kB / 0.7749 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008529/0.4071, allocations: 444.4 kB / 0.7753 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.4073, allocations: 0.739 MB / 0.776 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.4073, allocations: 10.73 kB / 0.7761 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.4074, allocations: 49.56 kB / 0.7761 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.4074, allocations: 0.6562 kB / 0.7761 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8296/1.237, allocations: 4.585 MB / 0.7806 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.85, allocations: 17.22 kB / 0.7806 GB, free: 13.23 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)