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.005373/0.005373, allocations: 100.9 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.001328/0.001329, allocations: 197.7 kB / 16.68 MB, free: 5.926 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.262/1.262, 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.002201/0.002201, allocations: 285.8 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.9017/0.9017, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 95.83 kB / 0.6809 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4277, allocations: 86.98 MB / 0.7659 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001961/0.4297, allocations: 1.249 MB / 0.7671 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.431, allocations: 0.8625 MB / 0.7679 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.431, allocations: 0 / 0.7679 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.4311, allocations: 0 / 0.7679 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.068e-05/0.4311, allocations: 7.922 kB / 0.7679 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.4316, allocations: 142.3 kB / 0.7681 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.917e-05/0.4316, allocations: 27.91 kB / 0.7681 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.4317, allocations: 0 / 0.7681 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.855e-05/0.4317, allocations: 19.86 kB / 0.7681 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.4318, allocations: 19.92 kB / 0.7681 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.4318, allocations: 0 / 0.7681 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.4321, allocations: 159.8 kB / 0.7683 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.4321, allocations: 15.98 kB / 0.7683 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.4321, allocations: 7.938 kB / 0.7683 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.4324, allocations: 123.8 kB / 0.7684 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4324, allocations: 0 / 0.7684 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4324, allocations: 0 / 0.7684 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.4324, allocations: 0 / 0.7684 GB, free: 1.242 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.000427/0.4328, allocations: 359.3 kB / 0.7688 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4329, allocations: 8.031 kB / 0.7688 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.4329, allocations: 38.69 kB / 0.7688 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.4329, allocations: 0.9375 kB / 0.7688 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.4331, allocations: 172.3 kB / 0.769 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.4331, allocations: 384 / 0.769 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.4331, allocations: 4.375 kB / 0.769 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.4332, allocations: 49.8 kB / 0.769 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.4332, allocations: 4 kB / 0.769 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.4332, allocations: 0 / 0.769 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4332, allocations: 3.984 kB / 0.769 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.307e-05/0.4333, allocations: 23.98 kB / 0.7691 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.4335, allocations: 157.6 kB / 0.7692 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.446e-05/0.4336, allocations: 50.56 kB / 0.7693 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.4336, allocations: 12.86 kB / 0.7693 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.4337, allocations: 89.22 kB / 0.7694 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.4338, allocations: 34.5 kB / 0.7694 GB, free: 68 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.4338, allocations: 0 / 0.7694 GB, free: 68 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001913/0.434, allocations: 65.64 kB / 0.7695 GB, free: 15.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.434, allocations: 55.34 kB / 0.7695 GB, free: 15.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.4341, allocations: 97.86 kB / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.4341, allocations: 29.7 kB / 0.7696 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.4342, allocations: 84.08 kB / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.4342, allocations: 11.81 kB / 0.7697 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.4342, allocations: 17.72 kB / 0.7697 GB, free: 15.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4343, allocations: 314.8 kB / 0.77 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.4344, allocations: 12 kB / 0.7701 GB, free: 15.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.612e-05/0.4344, allocations: 8.125 kB / 0.7701 GB, free: 15.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.991e-05/0.4344, allocations: 28.84 kB / 0.7701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4345, allocations: 0 / 0.7701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.598e-05/0.4346, allocations: 57.58 kB / 0.7701 GB, free: 15.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.4346, allocations: 7.938 kB / 0.7702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4346, allocations: 4.422 kB / 0.7702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4346, allocations: 4 kB / 0.7702 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.4347, allocations: 12 kB / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4347, allocations: 0 / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.4347, allocations: 4 kB / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.4347, allocations: 4 kB / 0.7702 GB, free: 15.2 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.385e-05/0.4348, allocations: 112.2 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.4348, allocations: 7.844 kB / 0.7703 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.435, allocations: 93.14 kB / 0.7704 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.435, allocations: 0 / 0.7704 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.435, allocations: 0 / 0.7704 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.435, allocations: 4 kB / 0.7704 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.4352, allocations: 165.5 kB / 0.7705 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4352, allocations: 0 / 0.7705 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.4352, allocations: 11.94 kB / 0.7706 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4352, allocations: 4 kB / 0.7706 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.4353, allocations: 0 / 0.7706 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4353, allocations: 3.984 kB / 0.7706 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4353, allocations: 0 / 0.7706 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.4354, allocations: 89.12 kB / 0.7707 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.4354, allocations: 84.95 kB / 0.7707 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.4355, allocations: 3.938 kB / 0.7707 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.4355, allocations: 4 kB / 0.7707 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.4355, allocations: 0 / 0.7707 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.4355, allocations: 7.984 kB / 0.7707 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.4356, allocations: 79.28 kB / 0.7708 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4356, allocations: 0 / 0.7708 GB, free: 14.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002271/0.4358, allocations: 47.94 kB / 0.7709 GB, free: 14.4 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.0005383/0.4363, allocations: 0.675 MB / 0.7715 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.4365, allocations: 40.05 kB / 0.7716 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4365, allocations: 4 kB / 0.7716 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.493e-05/0.4365, allocations: 12 kB / 0.7716 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.4366, allocations: 7.984 kB / 0.7716 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.4371, allocations: 188.2 kB / 0.7718 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.4373, allocations: 0.6729 MB / 0.7724 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.151e-05/0.4374, allocations: 15.97 kB / 0.7724 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.4374, allocations: 19.44 kB / 0.7725 GB, free: 12.67 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4374, allocations: 0 / 0.7725 GB, free: 12.67 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.4542, allocations: 2.137 MB / 0.7745 GB, free: 10.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/7.293, allocations: 7.641 kB / 0.7746 GB, free: 10.64 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)