Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.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.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",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.001577/0.001577, 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.002773/0.002773, allocations: 195.7 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.185/2.185, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002315/0.002315, allocations: 279.2 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.382/1.382, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 103.8 kB / 0.5953 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2272, allocations: 86.97 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.003113/0.2304, allocations: 1.259 MB / 0.6815 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.2319, allocations: 0.7005 MB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.232, allocations: 0 / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.232, allocations: 0 / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.2321, allocations: 11.92 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.2327, allocations: 115.7 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.053e-05/0.2328, allocations: 23.92 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.2328, allocations: 0 / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2329, allocations: 23.91 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.233, allocations: 11.94 kB / 0.6824 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.233, allocations: 0 / 0.6824 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.2335, allocations: 163.8 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.2335, allocations: 7.938 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.2335, allocations: 4 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.2338, allocations: 112 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2338, allocations: 0 / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2338, allocations: 0 / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2338, allocations: 0 / 0.6826 GB, free: 14.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005313/0.2343, allocations: 347.5 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.2344, allocations: 12.03 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/0.2345, allocations: 38.69 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.2345, allocations: 4.844 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2346, allocations: 160.4 kB / 0.6832 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.2347, allocations: 4.375 kB / 0.6832 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2347, allocations: 384 / 0.6832 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.2348, allocations: 53.69 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2348, allocations: 4 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2348, allocations: 3.984 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2349, allocations: 0 / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.112e-05/0.2349, allocations: 23.98 kB / 0.6833 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.2351, allocations: 161.7 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.338e-05/0.2352, allocations: 34.62 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.2353, allocations: 20.92 kB / 0.6835 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004418/0.2357, allocations: 190.2 kB / 0.6836 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.2358, allocations: 38.48 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.2358, allocations: 0 / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001959/0.236, allocations: 61.69 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.236, allocations: 51.41 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.717e-05/0.2361, allocations: 93.86 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2361, allocations: 29.7 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.2362, allocations: 84.27 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.2362, allocations: 19.73 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.2363, allocations: 17.72 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2364, allocations: 310.8 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/0.2364, allocations: 15.92 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.974e-05/0.2365, allocations: 8 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.425e-05/0.2365, allocations: 24.86 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2365, allocations: 384 / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000105/0.2366, allocations: 65.53 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2367, allocations: 12 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2367, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2367, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.2368, allocations: 11.98 kB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2368, allocations: 3.938 kB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.2368, allocations: 0 / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.2368, allocations: 0 / 0.6845 GB, free: 12.04 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 (5): * Single equations (assignments): 5 * 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.0001894/0.237, allocations: 115.1 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.2371, allocations: 3.938 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.2372, allocations: 85.17 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2373, allocations: 0 / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2373, allocations: 0 / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2373, allocations: 3.984 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.2374, allocations: 165.6 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2374, allocations: 0 / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.2375, allocations: 19.86 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2375, allocations: 0 / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2375, allocations: 8 kB / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2375, allocations: 0 / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2375, allocations: 0 / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.2376, allocations: 81.12 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.2377, allocations: 85.05 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.2377, allocations: 3.984 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.782e-05/0.2377, allocations: 0 / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.2378, allocations: 4 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.2378, allocations: 4.188 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.544e-05/0.2378, allocations: 79.28 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2378, allocations: 0 / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.2381, allocations: 35.92 kB / 0.6851 GB, free: 11.26 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 (6): * Single equations (assignments): 6 * 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.0005879/0.2387, allocations: 0.663 MB / 0.6858 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.2388, allocations: 36.02 kB / 0.6858 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2388, allocations: 0 / 0.6858 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.852e-05/0.2389, allocations: 12 kB / 0.6858 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.239, allocations: 8.75 kB / 0.6858 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.2396, allocations: 164.2 kB / 0.686 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.24, allocations: 0.6845 MB / 0.6866 GB, free: 9.598 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.205e-05/0.24, allocations: 12.19 kB / 0.6867 GB, free: 9.586 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.2401, allocations: 11.44 kB / 0.6867 GB, free: 9.574 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2401, allocations: 0 / 0.6867 GB, free: 9.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.2617, allocations: 2.217 MB / 0.6888 GB, free: 7.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.85, allocations: 10.69 kB / 0.6888 GB, free: 7.473 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)