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.00815/0.008149, allocations: 101.9 kB / 15.73 MB, free: 6.02 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.002094/0.002094, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002506/0.002506, allocations: 298.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.276/1.276, allocations: 178.5 MB / 0.5074 GB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 95.84 kB / 0.6943 GB, free: 15.23 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4437, allocations: 89.13 MB / 0.7813 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002625/0.4463, allocations: 1.713 MB / 0.783 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.448, allocations: 1.117 MB / 0.7841 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.4481, allocations: 0 / 0.7841 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.4485, allocations: 148.1 kB / 0.7842 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.887e-05/0.4486, allocations: 61.83 kB / 0.7843 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.449, allocations: 156.5 kB / 0.7844 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.4492, allocations: 103.3 kB / 0.7845 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.4493, allocations: 8.672 kB / 0.7845 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.875e-05/0.4493, allocations: 42.19 kB / 0.7846 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.4494, allocations: 54.8 kB / 0.7846 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.4495, allocations: 2.938 kB / 0.7846 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.4499, allocations: 232.5 kB / 0.7849 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.578e-05/0.45, allocations: 60.39 kB / 0.7849 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.45, allocations: 63.66 kB / 0.785 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.4505, allocations: 309.2 kB / 0.7853 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4505, allocations: 1.344 kB / 0.7853 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4505, allocations: 0 / 0.7853 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.4505, allocations: 0 / 0.7853 GB, free: 14.2 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.0006728/0.4512, allocations: 0.5048 MB / 0.7858 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4512, allocations: 9.656 kB / 0.7858 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.4513, allocations: 30.75 kB / 0.7858 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.4513, allocations: 25.58 kB / 0.7858 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.4515, allocations: 223.9 kB / 0.786 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4515, allocations: 384 / 0.786 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.4515, allocations: 5.75 kB / 0.786 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.4518, allocations: 83.78 kB / 0.7861 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4518, allocations: 1.219 kB / 0.7861 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.4518, allocations: 0 / 0.7861 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.4518, allocations: 0 / 0.7861 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.4521, allocations: 104.1 kB / 0.7862 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.4526, allocations: 373.1 kB / 0.7866 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.4528, allocations: 105 kB / 0.7867 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.453, allocations: 53.64 kB / 0.7867 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.829e-05/0.453, allocations: 24.83 kB / 0.7868 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.4531, allocations: 35.69 kB / 0.7868 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4531, allocations: 0 / 0.7868 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004706/0.4536, allocations: 196.9 kB / 0.787 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.4536, allocations: 51.41 kB / 0.787 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.454, allocations: 263.9 kB / 0.7873 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.454, allocations: 25.7 kB / 0.7873 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.4542, allocations: 134.3 kB / 0.7874 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.4542, allocations: 6.141 kB / 0.7874 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.4542, allocations: 19.91 kB / 0.7875 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4544, allocations: 336.6 kB / 0.7878 GB, free: 12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.4545, allocations: 44.62 kB / 0.7878 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.4546, allocations: 51.94 kB / 0.7879 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.4549, allocations: 97.08 kB / 0.788 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4549, allocations: 0 / 0.788 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002914/0.4552, allocations: 153.4 kB / 0.7881 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4552, allocations: 5.062 kB / 0.7881 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4552, allocations: 9.203 kB / 0.7881 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4552, allocations: 0 / 0.7881 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.4553, allocations: 11.08 kB / 0.7881 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4553, allocations: 0 / 0.7881 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.4554, allocations: 4.5 kB / 0.7881 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4554, allocations: 5.109 kB / 0.7881 GB, free: 11.83 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.0001166/0.4555, allocations: 135.3 kB / 0.7883 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.4556, allocations: 20.8 kB / 0.7883 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.4559, allocations: 169.9 kB / 0.7885 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.456, allocations: 1.062 kB / 0.7885 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.456, allocations: 5.031 kB / 0.7885 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.456, allocations: 0 / 0.7885 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.4563, allocations: 248.8 kB / 0.7887 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4563, allocations: 1.219 kB / 0.7887 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.4563, allocations: 15.83 kB / 0.7887 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4563, allocations: 0 / 0.7887 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.4564, allocations: 5.719 kB / 0.7887 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4564, allocations: 0 / 0.7887 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4564, allocations: 0 / 0.7887 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.4567, allocations: 247.7 kB / 0.789 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.4568, allocations: 92.38 kB / 0.789 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.4568, allocations: 5.25 kB / 0.789 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.4569, allocations: 11.3 kB / 0.7891 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.457, allocations: 2.312 kB / 0.7891 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.457, allocations: 1.125 kB / 0.7891 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001814/0.4572, allocations: 192.4 kB / 0.7892 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4572, allocations: 0 / 0.7892 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003249/0.4575, allocations: 66.88 kB / 0.7893 GB, free: 10.91 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 (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.0008194/0.4583, allocations: 0.8603 MB / 0.7901 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.4586, allocations: 100.3 kB / 0.7902 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4586, allocations: 1.156 kB / 0.7902 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.4588, allocations: 56.08 kB / 0.7903 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.4592, allocations: 46.94 kB / 0.7903 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008102/0.46, allocations: 444.4 kB / 0.7908 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.4604, allocations: 0.7363 MB / 0.7915 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.391e-05/0.4605, allocations: 9.047 kB / 0.7915 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.074e-05/0.4606, allocations: 51.66 kB / 0.7915 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of SimCode: time 2.254e-06/0.4606, allocations: 0 / 0.7915 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.4865, allocations: 4.593 MB / 0.796 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.6, allocations: 18.33 kB / 0.796 GB, free: 6.691 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)