Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",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.001251/0.001251, allocations: 108 kB / 15.61 MB, free: 152 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.001268/0.001268, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002392/0.002392, allocations: 282.9 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.017/1.017, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 106.2 kB / 0.6065 GB, free: 24.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1501, allocations: 89.15 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002931/0.1531, allocations: 1.715 MB / 0.6953 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1545, allocations: 0.9955 MB / 0.6962 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.1545, allocations: 0 / 0.6962 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003874/0.1549, allocations: 143.3 kB / 0.6964 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.155, allocations: 59.72 kB / 0.6964 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.1553, allocations: 111.5 kB / 0.6965 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1555, allocations: 104.1 kB / 0.6966 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.1555, allocations: 6 kB / 0.6967 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.459e-05/0.1556, allocations: 39.78 kB / 0.6967 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.454e-05/0.1557, allocations: 51.77 kB / 0.6967 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1557, allocations: 0 / 0.6967 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.156, allocations: 144.4 kB / 0.6969 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.457e-05/0.1561, allocations: 51.86 kB / 0.6969 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.1561, allocations: 67.56 kB / 0.697 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1565, allocations: 243.1 kB / 0.6972 GB, free: 0.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1565, allocations: 0 / 0.6972 GB, free: 0.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1565, allocations: 0 / 0.6972 GB, free: 0.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1565, allocations: 0 / 0.6972 GB, free: 0.5 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.0006031/0.1571, allocations: 498.1 kB / 0.6977 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1571, allocations: 12.03 kB / 0.6977 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.1572, allocations: 30.75 kB / 0.6977 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.1572, allocations: 16.75 kB / 0.6978 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.1574, allocations: 219.7 kB / 0.698 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1574, allocations: 4.375 kB / 0.698 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1574, allocations: 384 / 0.698 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.1576, allocations: 65.59 kB / 0.698 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.1576, allocations: 0 / 0.698 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1576, allocations: 7.938 kB / 0.698 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1576, allocations: 3.938 kB / 0.698 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.1578, allocations: 59.95 kB / 0.6981 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.1583, allocations: 336.8 kB / 0.6984 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.1585, allocations: 62.53 kB / 0.6985 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/0.1586, allocations: 32.91 kB / 0.6985 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.1587, allocations: 19.97 kB / 0.6985 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1587, allocations: 34.5 kB / 0.6986 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.1587, allocations: 0 / 0.6986 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004135/0.1591, allocations: 137.3 kB / 0.6987 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.1592, allocations: 55.34 kB / 0.6987 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.1594, allocations: 262.8 kB / 0.699 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1594, allocations: 25.7 kB / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.1595, allocations: 140.1 kB / 0.6992 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1596, allocations: 3.906 kB / 0.6992 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.1596, allocations: 17.7 kB / 0.6992 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1597, allocations: 330.8 kB / 0.6995 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.952e-05/0.1599, allocations: 31.97 kB / 0.6995 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.973e-05/0.1599, allocations: 31.98 kB / 0.6996 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.1601, allocations: 68.73 kB / 0.6996 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1601, allocations: 0 / 0.6996 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002278/0.1604, allocations: 101.5 kB / 0.6997 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1604, allocations: 8 kB / 0.6997 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1604, allocations: 0 / 0.6997 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1604, allocations: 4.094 kB / 0.6997 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.1605, allocations: 7.984 kB / 0.6997 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1605, allocations: 4 kB / 0.6997 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.1606, allocations: 3.984 kB / 0.6997 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1606, allocations: 4 kB / 0.6997 GB, free: 13.68 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.0001027/0.1607, allocations: 133.8 kB / 0.6999 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.1608, allocations: 19.72 kB / 0.6999 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.161, allocations: 126.4 kB / 0.7 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1611, allocations: 0 / 0.7 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1611, allocations: 0 / 0.7 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1611, allocations: 0 / 0.7 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.1613, allocations: 221.5 kB / 0.7002 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1613, allocations: 4 kB / 0.7002 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.1614, allocations: 11.98 kB / 0.7002 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1614, allocations: 0 / 0.7002 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.1614, allocations: 0 / 0.7002 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1614, allocations: 4.031 kB / 0.7002 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1614, allocations: 0 / 0.7002 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.1617, allocations: 215 kB / 0.7005 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.1618, allocations: 92.91 kB / 0.7005 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1618, allocations: 0 / 0.7005 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.646e-05/0.1619, allocations: 8.031 kB / 0.7005 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.1619, allocations: 7.922 kB / 0.7006 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1619, allocations: 4 kB / 0.7006 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001711/0.1621, allocations: 186 kB / 0.7007 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1621, allocations: 0 / 0.7007 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003229/0.1625, allocations: 59.92 kB / 0.7008 GB, free: 12.52 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.0007278/0.1632, allocations: 0.7863 MB / 0.7016 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1634, allocations: 59.95 kB / 0.7016 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1634, allocations: 0 / 0.7016 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.56e-05/0.1635, allocations: 32.06 kB / 0.7016 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.164, allocations: 50.52 kB / 0.7017 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/0.1648, allocations: 420 kB / 0.7021 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.1651, allocations: 0.7353 MB / 0.7028 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.1652, allocations: 4 kB / 0.7028 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.1652, allocations: 47.42 kB / 0.7029 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1652, allocations: 0 / 0.7029 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.1912, allocations: 4.086 MB / 0.7069 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/7.578, allocations: 15.67 kB / 0.7069 GB, free: 6.367 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi_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_wDerPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)