Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",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.001188/0.001188, 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.001257/0.001257, allocations: 194.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 1.657/1.657, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003725/0.003725, allocations: 278.7 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.385/1.385, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.00192, allocations: 99.45 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2469, allocations: 86.97 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003535/0.2505, allocations: 1.696 MB / 0.6819 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008772/0.2514, allocations: 474 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.722e-05/0.2515, allocations: 4 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.252, allocations: 148.1 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.2521, allocations: 55.73 kB / 0.6826 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.2525, allocations: 63.73 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.2527, allocations: 99.56 kB / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.414e-05/0.2527, allocations: 15.98 kB / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.2528, allocations: 35.78 kB / 0.6828 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.2529, allocations: 55.75 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.253, allocations: 0 / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.2532, allocations: 79.86 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.872e-05/0.2533, allocations: 51.86 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.111e-05/0.2534, allocations: 59.56 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.2537, allocations: 187.3 kB / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2537, allocations: 0 / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2537, allocations: 4 kB / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2537, allocations: 0 / 0.6832 GB, free: 13.6 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.0006986/0.2544, allocations: 482.2 kB / 0.6837 GB, free: 13.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.2545, allocations: 12.03 kB / 0.6837 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.2546, allocations: 30.75 kB / 0.6837 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.2546, allocations: 20.66 kB / 0.6837 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.2548, allocations: 211.8 kB / 0.6839 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2548, allocations: 4.375 kB / 0.6839 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.2549, allocations: 384 / 0.6839 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.2551, allocations: 61.98 kB / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2551, allocations: 0 / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.2551, allocations: 0 / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2552, allocations: 0 / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.2554, allocations: 39.95 kB / 0.684 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.2559, allocations: 332.6 kB / 0.6844 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.2561, allocations: 38.56 kB / 0.6844 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.2562, allocations: 32.89 kB / 0.6844 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.2563, allocations: 4 kB / 0.6844 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2563, allocations: 30.56 kB / 0.6845 GB, free: 12.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.562e-06/0.2563, allocations: 4 kB / 0.6845 GB, free: 12.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004221/0.2567, allocations: 105.4 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.2568, allocations: 59.34 kB / 0.6846 GB, free: 11.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.2572, allocations: 254.7 kB / 0.6849 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.2572, allocations: 29.7 kB / 0.6849 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.2573, allocations: 132.1 kB / 0.685 GB, free: 11.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.2573, allocations: 8.031 kB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.2574, allocations: 17.72 kB / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2575, allocations: 330.8 kB / 0.6854 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/0.2576, allocations: 15.98 kB / 0.6854 GB, free: 11.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.2577, allocations: 27.92 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.2579, allocations: 52.81 kB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2579, allocations: 0 / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002253/0.2581, allocations: 97.31 kB / 0.6855 GB, free: 10.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2581, allocations: 4 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2581, allocations: 0 / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2581, allocations: 0 / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.778e-05/0.2582, allocations: 11.98 kB / 0.6856 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2583, allocations: 0 / 0.6856 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.2583, allocations: 12.03 kB / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.2584, allocations: 3.984 kB / 0.6856 GB, free: 10.96 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.0001092/0.2585, allocations: 139.1 kB / 0.6857 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.2585, allocations: 15.81 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.2588, allocations: 94.45 kB / 0.6858 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2588, allocations: 0 / 0.6858 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2588, allocations: 8.016 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2588, allocations: 0 / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.2591, allocations: 209.6 kB / 0.686 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2591, allocations: 0 / 0.686 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.2591, allocations: 11.98 kB / 0.686 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2592, allocations: 0 / 0.686 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.2592, allocations: 0 / 0.686 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2592, allocations: 0 / 0.686 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2592, allocations: 0 / 0.686 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.2595, allocations: 191.2 kB / 0.6862 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.2595, allocations: 88.92 kB / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.2596, allocations: 7.938 kB / 0.6863 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2597, allocations: 11.97 kB / 0.6863 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.2597, allocations: 0 / 0.6863 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.2598, allocations: 3.938 kB / 0.6863 GB, free: 10.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.26, allocations: 198 kB / 0.6865 GB, free: 9.895 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.26, allocations: 0 / 0.6865 GB, free: 9.895 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.2603, allocations: 36 kB / 0.6865 GB, free: 9.859 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.0007599/0.2611, allocations: 0.7395 MB / 0.6873 GB, free: 9.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.2613, allocations: 51.83 kB / 0.6873 GB, free: 9.043 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2614, allocations: 0 / 0.6873 GB, free: 9.043 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.994e-05/0.2615, allocations: 27.97 kB / 0.6873 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.2621, allocations: 53.27 kB / 0.6874 GB, free: 8.965 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009891/0.2631, allocations: 396 kB / 0.6878 GB, free: 8.539 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.2634, allocations: 0.7275 MB / 0.6885 GB, free: 7.785 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.215e-05/0.2635, allocations: 8 kB / 0.6885 GB, free: 7.777 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.2636, allocations: 51.42 kB / 0.6885 GB, free: 7.727 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2636, allocations: 0 / 0.6885 GB, free: 7.727 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.2953, allocations: 3.883 MB / 0.6923 GB, free: 4.012 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.39, allocations: 15.17 kB / 0.6923 GB, free: 4.004 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist_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_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)