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.004113/0.004113, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001266/0.001266, allocations: 193.5 kB / 16.68 MB, free: 5.969 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 285.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9031/0.9031, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 103.8 kB / 0.6809 GB, free: 7.516 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3691, allocations: 86.97 MB / 0.7659 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002131/0.3713, allocations: 1.264 MB / 0.7671 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3723, allocations: 0.6951 MB / 0.7678 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.3724, allocations: 0 / 0.7678 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.3724, allocations: 7.984 kB / 0.7678 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.261e-05/0.3724, allocations: 7.922 kB / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.3728, allocations: 127.7 kB / 0.7679 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.014e-05/0.3728, allocations: 15.94 kB / 0.7679 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.3729, allocations: 7.984 kB / 0.7679 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.373, allocations: 19.86 kB / 0.768 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.648e-05/0.373, allocations: 11.98 kB / 0.768 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.373, allocations: 4 kB / 0.768 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.3733, allocations: 155.8 kB / 0.7681 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.3733, allocations: 7.938 kB / 0.7681 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.3734, allocations: 11.94 kB / 0.7681 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.3735, allocations: 111.1 kB / 0.7682 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3736, allocations: 0 / 0.7682 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.143e-06/0.3736, allocations: 0 / 0.7682 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3736, allocations: 0 / 0.7682 GB, free: 1.453 MB / 0.5294 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.0003493/0.3739, allocations: 345 kB / 0.7686 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.374, allocations: 12.03 kB / 0.7686 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.737e-05/0.374, allocations: 34.75 kB / 0.7686 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.374, allocations: 4.938 kB / 0.7686 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.3741, allocations: 168.4 kB / 0.7688 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-06/0.3741, allocations: 4.312 kB / 0.7688 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.3742, allocations: 384 / 0.7688 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.27e-05/0.3743, allocations: 49.75 kB / 0.7688 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.3743, allocations: 0 / 0.7688 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.3743, allocations: 0 / 0.7688 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3743, allocations: 4 kB / 0.7688 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.3744, allocations: 19.98 kB / 0.7689 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.3745, allocations: 161.7 kB / 0.769 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.379e-05/0.3746, allocations: 46.55 kB / 0.7691 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.3746, allocations: 16.84 kB / 0.7691 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003317/0.3749, allocations: 190.3 kB / 0.7693 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.375, allocations: 34.5 kB / 0.7693 GB, free: 184 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.375, allocations: 0 / 0.7693 GB, free: 184 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001822/0.3752, allocations: 69.64 kB / 0.7694 GB, free: 108 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.3752, allocations: 51.41 kB / 0.7694 GB, free: 44 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/0.3753, allocations: 97.86 kB / 0.7695 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.3753, allocations: 25.7 kB / 0.7695 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.3753, allocations: 80.14 kB / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.3754, allocations: 23.77 kB / 0.7696 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.3754, allocations: 17.72 kB / 0.7696 GB, free: 15.78 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.3755, allocations: 315 kB / 0.7699 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.3755, allocations: 11.98 kB / 0.7699 GB, free: 15.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.698e-05/0.3755, allocations: 8 kB / 0.77 GB, free: 15.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.345e-05/0.3756, allocations: 29.23 kB / 0.77 GB, free: 15.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3756, allocations: 0 / 0.77 GB, free: 15.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.488e-05/0.3757, allocations: 57.62 kB / 0.77 GB, free: 15.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.3757, allocations: 8 kB / 0.77 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3757, allocations: 0 / 0.77 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3757, allocations: 0 / 0.77 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.3758, allocations: 15.92 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3758, allocations: 0 / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.3758, allocations: 11.89 kB / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3759, allocations: 4 kB / 0.7701 GB, free: 15.31 MB / 0.545 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 5.913e-05/0.3759, allocations: 109.8 kB / 0.7702 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.3759, allocations: 3.938 kB / 0.7702 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.3761, allocations: 77.23 kB / 0.7703 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3761, allocations: 0 / 0.7703 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3761, allocations: 0 / 0.7703 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3761, allocations: 7.938 kB / 0.7703 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.3762, allocations: 165.6 kB / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3762, allocations: 0 / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.3763, allocations: 15.88 kB / 0.7704 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3763, allocations: 4 kB / 0.7704 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.3763, allocations: 0 / 0.7704 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3763, allocations: 0 / 0.7704 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3763, allocations: 0 / 0.7704 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.3764, allocations: 93.27 kB / 0.7705 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.3765, allocations: 85.03 kB / 0.7706 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3765, allocations: 4 kB / 0.7706 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.756e-05/0.3765, allocations: 0 / 0.7706 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.3765, allocations: 4 kB / 0.7706 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.3765, allocations: 0 / 0.7706 GB, free: 14.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.458e-05/0.3766, allocations: 87.22 kB / 0.7707 GB, free: 14.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3766, allocations: 3.938 kB / 0.7707 GB, free: 14.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002242/0.3768, allocations: 31.92 kB / 0.7707 GB, free: 14.53 MB / 0.545 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.000445/0.3773, allocations: 0.6592 MB / 0.7714 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.88e-05/0.3774, allocations: 27.92 kB / 0.7714 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3774, allocations: 4 kB / 0.7714 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.3e-05/0.3774, allocations: 8 kB / 0.7714 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.3775, allocations: 8 kB / 0.7714 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.3779, allocations: 164.2 kB / 0.7716 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.3781, allocations: 0.6845 MB / 0.7723 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.59e-05/0.3781, allocations: 7.906 kB / 0.7723 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.3782, allocations: 23.36 kB / 0.7723 GB, free: 12.85 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.3782, allocations: 3.938 kB / 0.7723 GB, free: 12.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.3944, allocations: 2.232 MB / 0.7745 GB, free: 10.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.991/7.386, allocations: 9.625 kB / 0.7745 GB, free: 10.75 MB / 0.545 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)