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.001869/0.001869, 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.002139/0.002139, allocations: 196.3 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 2.312/2.312, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004027/0.004027, allocations: 286.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.604/1.604, allocations: 169.2 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003476/0.003476, allocations: 102.3 kB / 0.5953 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2364, allocations: 86.98 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.004736/0.2412, allocations: 1.707 MB / 0.682 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.2434, allocations: 0.9934 MB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.615e-05/0.2435, allocations: 0 / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.2442, allocations: 151.7 kB / 0.6831 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.2444, allocations: 55.69 kB / 0.6831 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.2451, allocations: 111.6 kB / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.2453, allocations: 107.4 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.2454, allocations: 4 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.2455, allocations: 39.84 kB / 0.6834 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.2457, allocations: 51.7 kB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.2458, allocations: 4 kB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004374/0.2462, allocations: 139.7 kB / 0.6836 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.2463, allocations: 51.86 kB / 0.6836 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.2465, allocations: 71.55 kB / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.247, allocations: 235.2 kB / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.247, allocations: 0 / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2471, allocations: 0 / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2471, allocations: 0 / 0.6839 GB, free: 12.91 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.0009462/0.248, allocations: 498.1 kB / 0.6844 GB, free: 12.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.2481, allocations: 8.031 kB / 0.6844 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/0.2482, allocations: 34.73 kB / 0.6844 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/0.2483, allocations: 20.69 kB / 0.6844 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.2485, allocations: 223.6 kB / 0.6846 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2485, allocations: 384 / 0.6846 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.2486, allocations: 4.375 kB / 0.6847 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.2489, allocations: 65.59 kB / 0.6847 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2489, allocations: 0 / 0.6847 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2489, allocations: 4 kB / 0.6847 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2489, allocations: 0 / 0.6847 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.2493, allocations: 55.95 kB / 0.6848 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/0.25, allocations: 340.8 kB / 0.6851 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.2502, allocations: 62.55 kB / 0.6852 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.2504, allocations: 32.91 kB / 0.6852 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.903e-05/0.2505, allocations: 15.98 kB / 0.6852 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.2505, allocations: 34.56 kB / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.2506, allocations: 0 / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.00064/0.2512, allocations: 137.3 kB / 0.6854 GB, free: 11.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.2513, allocations: 59.34 kB / 0.6854 GB, free: 11.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005057/0.2518, allocations: 258.8 kB / 0.6857 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.2518, allocations: 33.7 kB / 0.6857 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.252, allocations: 128.1 kB / 0.6858 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.252, allocations: 15.88 kB / 0.6858 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.2521, allocations: 13.72 kB / 0.6859 GB, free: 10.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.2523, allocations: 334.8 kB / 0.6862 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.2525, allocations: 27.97 kB / 0.6862 GB, free: 10.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2526, allocations: 35.97 kB / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.2529, allocations: 60.81 kB / 0.6863 GB, free: 10.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2529, allocations: 4 kB / 0.6863 GB, free: 10.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003989/0.2534, allocations: 105.4 kB / 0.6864 GB, free: 10.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2534, allocations: 4 kB / 0.6864 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2534, allocations: 0 / 0.6864 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2534, allocations: 4.094 kB / 0.6864 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.2536, allocations: 15.98 kB / 0.6864 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.2536, allocations: 0 / 0.6864 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.2537, allocations: 7.984 kB / 0.6864 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.2537, allocations: 0 / 0.6864 GB, free: 10.09 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.0001588/0.2539, allocations: 139.1 kB / 0.6866 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.23e-05/0.254, allocations: 23.7 kB / 0.6866 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.2545, allocations: 118.4 kB / 0.6867 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2545, allocations: 0 / 0.6867 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.2545, allocations: 4 kB / 0.6867 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2545, allocations: 0 / 0.6867 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.2549, allocations: 221.5 kB / 0.6869 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2549, allocations: 0 / 0.6869 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.143e-05/0.255, allocations: 7.984 kB / 0.6869 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.255, allocations: 0 / 0.6869 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.255, allocations: 4 kB / 0.6869 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2551, allocations: 4.031 kB / 0.6869 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2551, allocations: 0 / 0.6869 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.2556, allocations: 203.2 kB / 0.6871 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-05/0.2557, allocations: 92.83 kB / 0.6872 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.2558, allocations: 4 kB / 0.6872 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.256, allocations: 4.031 kB / 0.6872 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.256, allocations: 11.92 kB / 0.6872 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2561, allocations: 4 kB / 0.6872 GB, free: 9.164 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002957/0.2564, allocations: 193.9 kB / 0.6874 GB, free: 8.977 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.2564, allocations: 0 / 0.6874 GB, free: 8.977 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000615/0.257, allocations: 55.94 kB / 0.6875 GB, free: 8.922 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 (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.001099/0.2581, allocations: 0.7863 MB / 0.6882 GB, free: 8.109 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.2585, allocations: 59.95 kB / 0.6883 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2585, allocations: 0 / 0.6883 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.2587, allocations: 35.91 kB / 0.6883 GB, free: 8.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/0.2595, allocations: 44.69 kB / 0.6884 GB, free: 7.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.2608, allocations: 412 kB / 0.6888 GB, free: 7.531 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.2614, allocations: 0.7392 MB / 0.6895 GB, free: 6.766 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.868e-05/0.2615, allocations: 11.97 kB / 0.6895 GB, free: 6.754 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.2616, allocations: 47.42 kB / 0.6895 GB, free: 6.707 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2616, allocations: 7.875 kB / 0.6895 GB, free: 6.699 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04569/0.3073, allocations: 4.08 MB / 0.6935 GB, free: 2.789 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.47, allocations: 7.938 kB / 0.6935 GB, free: 2.781 MB / 494.1 MB (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)