Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.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.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",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.004341/0.004346, allocations: 101 kB / 15.73 MB, free: 6.004 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.00123/0.00123, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002673/0.002673, allocations: 286.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 92.28 kB / 0.6809 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3693, allocations: 86.98 MB / 0.7659 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002403/0.3717, allocations: 1.253 MB / 0.7671 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3731, allocations: 0.8664 MB / 0.7679 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.3732, allocations: 0 / 0.7679 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.3732, allocations: 3.938 kB / 0.7679 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.14e-05/0.3732, allocations: 4 kB / 0.768 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.3737, allocations: 139.4 kB / 0.7681 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.264e-05/0.3738, allocations: 23.92 kB / 0.7681 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.3738, allocations: 4 kB / 0.7681 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.094e-05/0.3739, allocations: 15.92 kB / 0.7681 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.374, allocations: 15.92 kB / 0.7681 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.374, allocations: 4 kB / 0.7681 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.3743, allocations: 159.8 kB / 0.7683 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.3743, allocations: 7.984 kB / 0.7683 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.3743, allocations: 7.938 kB / 0.7683 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.3746, allocations: 128.7 kB / 0.7684 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3746, allocations: 8 kB / 0.7684 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3746, allocations: 0 / 0.7684 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3746, allocations: 0 / 0.7684 GB, free: 1.199 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.0004455/0.375, allocations: 359.2 kB / 0.7688 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3751, allocations: 8.031 kB / 0.7688 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.3751, allocations: 34.75 kB / 0.7688 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.3752, allocations: 4.875 kB / 0.7688 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3753, allocations: 164.3 kB / 0.769 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3753, allocations: 384 / 0.769 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.3753, allocations: 8.375 kB / 0.769 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.3754, allocations: 45.81 kB / 0.769 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3754, allocations: 4 kB / 0.769 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3755, allocations: 0 / 0.769 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3755, allocations: 0 / 0.769 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.3755, allocations: 27.97 kB / 0.7691 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.3757, allocations: 161.7 kB / 0.7692 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/0.3758, allocations: 38.5 kB / 0.7693 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.3758, allocations: 16.98 kB / 0.7693 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.376, allocations: 89.09 kB / 0.7694 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.376, allocations: 42.44 kB / 0.7694 GB, free: 28 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.376, allocations: 0 / 0.7694 GB, free: 28 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001909/0.3762, allocations: 69.77 kB / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.3763, allocations: 51.41 kB / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.3764, allocations: 93.86 kB / 0.7696 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3764, allocations: 33.83 kB / 0.7696 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.3764, allocations: 84.12 kB / 0.7697 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.3765, allocations: 7.906 kB / 0.7697 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.3765, allocations: 21.72 kB / 0.7698 GB, free: 15.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3766, allocations: 314.8 kB / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.3767, allocations: 8 kB / 0.7701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.3767, allocations: 4 kB / 0.7701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.3768, allocations: 28.86 kB / 0.7701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3768, allocations: 11.92 kB / 0.7701 GB, free: 15.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.732e-05/0.3769, allocations: 57.39 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3769, allocations: 8 kB / 0.7702 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3769, allocations: 0 / 0.7702 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3769, allocations: 3.984 kB / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-05/0.377, allocations: 8 kB / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.377, allocations: 0 / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.377, allocations: 8.375 kB / 0.7702 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3771, allocations: 4 kB / 0.7702 GB, free: 15.16 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 7.842e-05/0.3771, allocations: 112.2 kB / 0.7703 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.3772, allocations: 7.938 kB / 0.7703 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.3773, allocations: 93.09 kB / 0.7704 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3774, allocations: 3.984 kB / 0.7704 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3774, allocations: 4 kB / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3774, allocations: 0 / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3775, allocations: 157.7 kB / 0.7705 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3775, allocations: 11.94 kB / 0.7706 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/0.3776, allocations: 8 kB / 0.7706 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3776, allocations: 0 / 0.7706 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.3776, allocations: 0 / 0.7706 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3776, allocations: 0 / 0.7706 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3776, allocations: 7.984 kB / 0.7706 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.3777, allocations: 89.02 kB / 0.7707 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.3778, allocations: 88.98 kB / 0.7707 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.3778, allocations: 4 kB / 0.7707 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/0.3778, allocations: 0 / 0.7707 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.3779, allocations: 4 kB / 0.7708 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3779, allocations: 3.984 kB / 0.7708 GB, free: 14.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.3779, allocations: 83.28 kB / 0.7708 GB, free: 14.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3779, allocations: 0 / 0.7708 GB, free: 14.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003199/0.3782, allocations: 43.81 kB / 0.7709 GB, free: 14.36 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.0005378/0.3788, allocations: 0.6826 MB / 0.7715 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.561e-05/0.3789, allocations: 31.92 kB / 0.7716 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.3789, allocations: 0 / 0.7716 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.3789, allocations: 16.31 kB / 0.7716 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.3791, allocations: 2.5 kB / 0.7716 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.3795, allocations: 184.1 kB / 0.7718 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3798, allocations: 0.6768 MB / 0.7724 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.971e-05/0.3798, allocations: 15.89 kB / 0.7724 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.3799, allocations: 19.38 kB / 0.7725 GB, free: 12.64 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.3799, allocations: 0 / 0.7725 GB, free: 12.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.62/2, allocations: 2.131 MB / 0.7745 GB, free: 10.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/14.96, allocations: 11.22 kB / 0.7746 GB, free: 10.61 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)