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.008646/0.008646, allocations: 107.4 kB / 15.74 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.001947/0.001947, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 293.4 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.256/1.256, allocations: 178.6 MB / 0.5074 GB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002749, allocations: 103.8 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4825, allocations: 89.12 MB / 0.7813 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002538/0.4851, allocations: 1.263 MB / 0.7825 GB, free: 180 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.4865, allocations: 0.6984 MB / 0.7832 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.4865, allocations: 1.469 kB / 0.7832 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.4865, allocations: 3.984 kB / 0.7832 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.103e-05/0.4866, allocations: 3.938 kB / 0.7832 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.4871, allocations: 132.9 kB / 0.7833 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.9e-05/0.4872, allocations: 22.64 kB / 0.7834 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.4873, allocations: 2.688 kB / 0.7834 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.852e-05/0.4873, allocations: 10.84 kB / 0.7834 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.74e-05/0.4874, allocations: 16.59 kB / 0.7834 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.4875, allocations: 1.344 kB / 0.7834 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003707/0.4878, allocations: 160.3 kB / 0.7836 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.4879, allocations: 5.078 kB / 0.7836 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.4879, allocations: 11.59 kB / 0.7836 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.4882, allocations: 110.2 kB / 0.7837 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4882, allocations: 0 / 0.7837 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4882, allocations: 1.375 kB / 0.7837 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.4882, allocations: 0 / 0.7837 GB, free: 15.35 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006181/0.4888, allocations: 351.5 kB / 0.784 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.4889, allocations: 9.812 kB / 0.784 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.962e-05/0.489, allocations: 34.75 kB / 0.7841 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.489, allocations: 2.281 kB / 0.7841 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.4892, allocations: 165.6 kB / 0.7842 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4892, allocations: 5.75 kB / 0.7842 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.4892, allocations: 1.781 kB / 0.7842 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.4893, allocations: 46.22 kB / 0.7843 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4894, allocations: 3.938 kB / 0.7843 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4894, allocations: 0 / 0.7843 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.4894, allocations: 5.375 kB / 0.7843 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.662e-05/0.4895, allocations: 26.84 kB / 0.7843 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.4897, allocations: 155.4 kB / 0.7844 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.453e-05/0.4898, allocations: 41.86 kB / 0.7845 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/0.4898, allocations: 15.44 kB / 0.7845 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004299/0.4903, allocations: 189.4 kB / 0.7847 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.4903, allocations: 35.75 kB / 0.7847 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 2.946e-06/0.4903, allocations: 0 / 0.7847 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0001987/0.4905, allocations: 67.77 kB / 0.7848 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4906, allocations: 52.59 kB / 0.7848 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.971e-05/0.4907, allocations: 100.2 kB / 0.7849 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.4907, allocations: 30.84 kB / 0.785 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.4907, allocations: 80.14 kB / 0.785 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.4908, allocations: 18.03 kB / 0.7851 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.4908, allocations: 14.78 kB / 0.7851 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.491, allocations: 320.2 kB / 0.7854 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.491, allocations: 4.938 kB / 0.7854 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.491, allocations: 8.719 kB / 0.7854 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.44e-05/0.4911, allocations: 33.88 kB / 0.7854 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4911, allocations: 384 / 0.7854 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.202e-05/0.4912, allocations: 59.92 kB / 0.7855 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4912, allocations: 8.484 kB / 0.7855 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4912, allocations: 1.688 kB / 0.7855 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4912, allocations: 0 / 0.7855 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.4913, allocations: 6.844 kB / 0.7855 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.4913, allocations: 5.641 kB / 0.7855 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.4913, allocations: 3.953 kB / 0.7855 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.4914, allocations: 5.75 kB / 0.7855 GB, free: 13.39 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 (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 8.12e-05/0.4914, allocations: 115.5 kB / 0.7856 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.4915, allocations: 5.344 kB / 0.7856 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.4916, allocations: 78.27 kB / 0.7857 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4917, allocations: 1.25 kB / 0.7857 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4917, allocations: 0 / 0.7857 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4917, allocations: 4.984 kB / 0.7857 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.4918, allocations: 165.1 kB / 0.7859 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4918, allocations: 0 / 0.7859 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.4919, allocations: 17.09 kB / 0.7859 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4919, allocations: 0 / 0.7859 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.4919, allocations: 1.469 kB / 0.7859 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4919, allocations: 1.219 kB / 0.7859 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.4919, allocations: 0 / 0.7859 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.4921, allocations: 95.5 kB / 0.786 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.4921, allocations: 86.42 kB / 0.786 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.4921, allocations: 4 kB / 0.7861 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.66e-05/0.4922, allocations: 1.344 kB / 0.7861 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.4922, allocations: 2.688 kB / 0.7861 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.4922, allocations: 1.5 kB / 0.7861 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.323e-05/0.4923, allocations: 84.67 kB / 0.7861 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4923, allocations: 1.25 kB / 0.7861 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002469/0.4925, allocations: 26.34 kB / 0.7862 GB, free: 12.72 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 (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.0006192/0.4931, allocations: 0.6716 MB / 0.7868 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.4933, allocations: 26.73 kB / 0.7868 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4933, allocations: 3.938 kB / 0.7869 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.936e-05/0.4933, allocations: 23.83 kB / 0.7869 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.4935, allocations: 4.156 kB / 0.7869 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.4939, allocations: 161.9 kB / 0.787 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.4943, allocations: 0.6786 MB / 0.7877 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.4943, allocations: 5.25 kB / 0.7877 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.4943, allocations: 19.55 kB / 0.7877 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.4944, allocations: 0 / 0.7877 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.518, allocations: 2.238 MB / 0.7899 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.282, allocations: 11.72 kB / 0.7899 GB, free: 9.973 MB / 0.5606 GB (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)