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.001636/0.001636, allocations: 108 kB / 15.61 MB, free: 148 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.001796/0.001796, allocations: 195.5 kB / 16.53 MB, free: 6.691 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.634/1.634, allocations: 222.9 MB / 240.2 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002331/0.002331, allocations: 275 kB / 290.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.205/1.205, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003787/0.003787, allocations: 102.5 kB / 0.5953 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2776, allocations: 86.96 MB / 0.6803 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.005741/0.2834, allocations: 1.712 MB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.286, allocations: 1.121 MB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.2861, allocations: 0 / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008496/0.287, allocations: 151.6 kB / 0.6832 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.2873, allocations: 51.73 kB / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009675/0.2883, allocations: 159.4 kB / 0.6834 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.2886, allocations: 107.5 kB / 0.6835 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.353e-05/0.2887, allocations: 11.98 kB / 0.6835 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.2888, allocations: 43.78 kB / 0.6835 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.289, allocations: 47.81 kB / 0.6836 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.2891, allocations: 4 kB / 0.6836 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007372/0.2898, allocations: 223.6 kB / 0.6838 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.29, allocations: 59.8 kB / 0.6839 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.2901, allocations: 75.53 kB / 0.6839 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007859/0.2909, allocations: 291.2 kB / 0.6842 GB, free: 12.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2909, allocations: 0 / 0.6842 GB, free: 12.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.299e-06/0.291, allocations: 0 / 0.6842 GB, free: 12.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.291, allocations: 3.938 kB / 0.6842 GB, free: 12.59 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.001076/0.2921, allocations: 0.502 MB / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.948e-05/0.2922, allocations: 12.02 kB / 0.6847 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6e-05/0.2922, allocations: 38.75 kB / 0.6848 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/0.2923, allocations: 16.75 kB / 0.6848 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.2926, allocations: 219.7 kB / 0.685 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.2927, allocations: 4.312 kB / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.2927, allocations: 384 / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.2931, allocations: 93.53 kB / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2931, allocations: 0 / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2931, allocations: 0 / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2931, allocations: 0 / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.2936, allocations: 91.94 kB / 0.6852 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.2945, allocations: 376.8 kB / 0.6855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.2949, allocations: 110.5 kB / 0.6856 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.2951, allocations: 48.89 kB / 0.6857 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-05/0.2952, allocations: 23.98 kB / 0.6857 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.2953, allocations: 30.56 kB / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.454e-06/0.2953, allocations: 0 / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008604/0.2962, allocations: 197.3 kB / 0.6859 GB, free: 10.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.2962, allocations: 51.41 kB / 0.686 GB, free: 10.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.2967, allocations: 258.7 kB / 0.6862 GB, free: 10.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.2967, allocations: 29.7 kB / 0.6862 GB, free: 10.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.2969, allocations: 132.1 kB / 0.6864 GB, free: 10.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.2969, allocations: 7.844 kB / 0.6864 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.297, allocations: 21.83 kB / 0.6864 GB, free: 10.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.2972, allocations: 334.8 kB / 0.6867 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.2975, allocations: 47.97 kB / 0.6868 GB, free: 9.773 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.2977, allocations: 51.95 kB / 0.6868 GB, free: 9.723 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.2981, allocations: 96.8 kB / 0.6869 GB, free: 9.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2981, allocations: 4.062 kB / 0.6869 GB, free: 9.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005033/0.2986, allocations: 137.5 kB / 0.687 GB, free: 9.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.2987, allocations: 11.92 kB / 0.687 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2987, allocations: 0 / 0.687 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.2987, allocations: 0 / 0.687 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.2989, allocations: 11.94 kB / 0.6871 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.2989, allocations: 0 / 0.6871 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.2991, allocations: 11.95 kB / 0.6871 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2991, allocations: 12 kB / 0.6871 GB, free: 9.434 MB / 494.1 MB 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.0001911/0.2993, allocations: 135.1 kB / 0.6872 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.2994, allocations: 19.72 kB / 0.6872 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006481/0.3001, allocations: 162.5 kB / 0.6874 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3001, allocations: 0 / 0.6874 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.3002, allocations: 0 / 0.6874 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3002, allocations: 8 kB / 0.6874 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.3006, allocations: 245.5 kB / 0.6876 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3007, allocations: 0 / 0.6876 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.3008, allocations: 12.03 kB / 0.6876 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.3008, allocations: 7.922 kB / 0.6876 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3009, allocations: 0 / 0.6876 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3009, allocations: 3.938 kB / 0.6876 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3009, allocations: 0 / 0.6876 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006068/0.3015, allocations: 247.2 kB / 0.6879 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3016, allocations: 96.83 kB / 0.688 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.3017, allocations: 3.984 kB / 0.688 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.3019, allocations: 4 kB / 0.688 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.302, allocations: 4 kB / 0.688 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.302, allocations: 3.984 kB / 0.688 GB, free: 8.395 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003099/0.3023, allocations: 190 kB / 0.6882 GB, free: 8.211 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.22e-07/0.3023, allocations: 4 kB / 0.6882 GB, free: 8.207 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006606/0.303, allocations: 75.92 kB / 0.6882 GB, free: 8.133 MB / 494.1 MB 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.001424/0.3044, allocations: 0.8488 MB / 0.6891 GB, free: 7.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.305, allocations: 103.9 kB / 0.6892 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.305, allocations: 0 / 0.6892 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.3052, allocations: 59.84 kB / 0.6892 GB, free: 7.098 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009169/0.3062, allocations: 54.97 kB / 0.6893 GB, free: 7.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.3077, allocations: 440 kB / 0.6897 GB, free: 6.578 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.3083, allocations: 0.7353 MB / 0.6904 GB, free: 5.816 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.693e-05/0.3085, allocations: 12 kB / 0.6904 GB, free: 5.805 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.3086, allocations: 51.41 kB / 0.6905 GB, free: 5.754 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3086, allocations: 0 / 0.6905 GB, free: 5.754 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/0.348, allocations: 4.522 MB / 0.6949 GB, free: 1.398 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.74, allocations: 12.48 kB / 0.6949 GB, free: 1.387 MB / 494.1 MB (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)