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: translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 109.7 kB / 16.41 MB, free: 6.465 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.001771/0.001771, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.297/1.297, allocations: 222.9 MB / 241 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.002062/0.002062, allocations: 281.4 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9209/0.9209, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 95.83 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4261, allocations: 86.98 MB / 0.767 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001953/0.4281, allocations: 1.245 MB / 0.7682 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.4293, allocations: 0.8741 MB / 0.7691 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.4293, allocations: 0 / 0.7691 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.4294, allocations: 0 / 0.7691 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.273e-05/0.4294, allocations: 7.922 kB / 0.7691 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.4298, allocations: 131.5 kB / 0.7692 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.703e-05/0.4299, allocations: 31.91 kB / 0.7693 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.4299, allocations: 0 / 0.7693 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.43, allocations: 23.86 kB / 0.7693 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.4301, allocations: 11.98 kB / 0.7693 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.4301, allocations: 3.938 kB / 0.7693 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.4304, allocations: 163.8 kB / 0.7695 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.4304, allocations: 7.984 kB / 0.7695 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.4304, allocations: 11.94 kB / 0.7695 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.4306, allocations: 119.6 kB / 0.7696 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4306, allocations: 0 / 0.7696 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4306, allocations: 4 kB / 0.7696 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.4306, allocations: 0 / 0.7696 GB, free: 1.441 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.0003605/0.431, allocations: 361.9 kB / 0.7699 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.431, allocations: 12.03 kB / 0.7699 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.4311, allocations: 0.9375 kB / 0.7699 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.941e-05/0.4312, allocations: 160.4 kB / 0.7701 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4312, allocations: 8.312 kB / 0.7701 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.4312, allocations: 384 / 0.7701 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.44e-05/0.4313, allocations: 50 kB / 0.7702 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.4313, allocations: 0 / 0.7702 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4313, allocations: 4 kB / 0.7702 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.4313, allocations: 0 / 0.7702 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.044e-05/0.4314, allocations: 23.97 kB / 0.7702 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.4316, allocations: 165.7 kB / 0.7703 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/0.4316, allocations: 38.5 kB / 0.7704 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.4317, allocations: 16.98 kB / 0.7704 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.4318, allocations: 93.09 kB / 0.7705 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.4318, allocations: 34.5 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.4318, allocations: 0 / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001608/0.432, allocations: 65.69 kB / 0.7706 GB, free: 252 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.432, allocations: 51.41 kB / 0.7706 GB, free: 188 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.808e-05/0.4321, allocations: 101.8 kB / 0.7707 GB, free: 76 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.4321, allocations: 25.7 kB / 0.7707 GB, free: 44 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.4322, allocations: 84.27 kB / 0.7708 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.4322, allocations: 15.7 kB / 0.7708 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.4322, allocations: 21.72 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.4323, allocations: 318.8 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/0.4324, allocations: 7.984 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.4324, allocations: 8 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.159e-05/0.4324, allocations: 24.86 kB / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4325, allocations: 0 / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.44e-05/0.4326, allocations: 53.69 kB / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.4326, allocations: 15.94 kB / 0.7713 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4326, allocations: 0 / 0.7713 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.4326, allocations: 3.938 kB / 0.7713 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/0.4327, allocations: 15.92 kB / 0.7713 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4327, allocations: 0 / 0.7713 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.4327, allocations: 0 / 0.7713 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.4327, allocations: 4 kB / 0.7713 GB, free: 15.45 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 6.229e-05/0.4328, allocations: 109.8 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.4328, allocations: 7.938 kB / 0.7714 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.433, allocations: 85.12 kB / 0.7715 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.433, allocations: 3.984 kB / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.433, allocations: 0 / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.4331, allocations: 85.55 kB / 0.7716 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.4331, allocations: 0 / 0.7716 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.4331, allocations: 0 / 0.7716 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.4331, allocations: 7.938 kB / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001286/0.4333, allocations: 149 kB / 0.7717 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001419/0.4334, allocations: 230.8 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.244e-05/0.4334, allocations: 15.98 kB / 0.772 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.537e-05/0.4335, allocations: 83.22 kB / 0.772 GB, free: 14.63 MB / 0.545 GB Notification: Performance of Backend: time 2.11e-07/0.4335, allocations: 0 / 0.772 GB, free: 14.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004547/0.4339, allocations: 150.4 kB / 0.7722 GB, free: 14.48 MB / 0.545 GB Notification: Performance of SimCode: time 0.000373/0.4343, allocations: 0.5659 MB / 0.7727 GB, free: 13.86 MB / 0.545 GB Notification: Performance of Templates: time 0.003318/0.4376, allocations: 1.308 MB / 0.774 GB, free: 12.56 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile (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 & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)