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.001286/0.001286, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001316/0.001316, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002177/0.002177, allocations: 290.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9227/0.9227, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 87.86 kB / 0.6821 GB, free: 7.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4051, allocations: 86.97 MB / 0.767 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002307/0.4075, allocations: 1.248 MB / 0.7682 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.4088, allocations: 0.8741 MB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.4089, allocations: 4 kB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.4089, allocations: 0 / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.378e-05/0.4089, allocations: 3.938 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.4094, allocations: 139.4 kB / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.081e-05/0.4095, allocations: 23.92 kB / 0.7692 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.4096, allocations: 3.938 kB / 0.7692 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.4096, allocations: 19.98 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.4097, allocations: 23.91 kB / 0.7693 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.4097, allocations: 0 / 0.7693 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.41, allocations: 159.8 kB / 0.7694 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.4101, allocations: 3.984 kB / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.4101, allocations: 11.94 kB / 0.7695 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.4103, allocations: 123.5 kB / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4103, allocations: 0 / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4104, allocations: 0 / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.4104, allocations: 0 / 0.7696 GB, free: 1.328 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.0004061/0.4108, allocations: 365.9 kB / 0.7699 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.4108, allocations: 8.031 kB / 0.7699 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.4109, allocations: 4.938 kB / 0.7699 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.411, allocations: 160.4 kB / 0.7701 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.411, allocations: 384 / 0.7701 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.411, allocations: 12.36 kB / 0.7701 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.4111, allocations: 50 kB / 0.7701 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.4111, allocations: 3.984 kB / 0.7702 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4111, allocations: 0 / 0.7702 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.4112, allocations: 7.938 kB / 0.7702 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.4112, allocations: 23.98 kB / 0.7702 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.4114, allocations: 161.7 kB / 0.7703 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.7e-05/0.4115, allocations: 34.56 kB / 0.7704 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.4115, allocations: 16.98 kB / 0.7704 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.4116, allocations: 85.09 kB / 0.7705 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.4117, allocations: 42.5 kB / 0.7705 GB, free: 200 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.4117, allocations: 0 / 0.7705 GB, free: 200 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001692/0.4118, allocations: 65.62 kB / 0.7706 GB, free: 128 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.4119, allocations: 51.41 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.412, allocations: 101.8 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.412, allocations: 25.7 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.412, allocations: 80.14 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.4121, allocations: 15.72 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.4121, allocations: 21.84 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.4122, allocations: 318.8 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.4122, allocations: 4 kB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.642e-05/0.4122, allocations: 4 kB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.268e-05/0.4123, allocations: 36.78 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4123, allocations: 0 / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.06e-05/0.4124, allocations: 53.64 kB / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4124, allocations: 19.86 kB / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4124, allocations: 0 / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4125, allocations: 448 / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.4125, allocations: 12 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4126, allocations: 0 / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.4126, allocations: 4 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.4126, allocations: 4 kB / 0.7713 GB, free: 15.33 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.011e-05/0.4127, allocations: 112.2 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.4127, allocations: 3.938 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.4129, allocations: 93.06 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4129, allocations: 0 / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4129, allocations: 0 / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4129, allocations: 4 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.413, allocations: 161.6 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.413, allocations: 4 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.4131, allocations: 8 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.4131, allocations: 3.938 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.4131, allocations: 3.984 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4131, allocations: 0 / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4131, allocations: 8 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.4132, allocations: 85.06 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.4133, allocations: 88.95 kB / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.4133, allocations: 0 / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.4133, allocations: 0 / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.4133, allocations: 11.98 kB / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.4133, allocations: 0 / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.199e-05/0.4134, allocations: 83.28 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4134, allocations: 0 / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002501/0.4136, allocations: 43.94 kB / 0.772 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.0002429/0.4139, allocations: 155.2 kB / 0.7721 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.756e-05/0.414, allocations: 35.86 kB / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.414, allocations: 0 / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.614e-05/0.414, allocations: 16 kB / 0.7722 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.4142, allocations: 4.734 kB / 0.7722 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.4145, allocations: 164.8 kB / 0.7723 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.4147, allocations: 0.6729 MB / 0.773 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.4147, allocations: 15.42 kB / 0.773 GB, free: 13.41 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.4147, allocations: 0 / 0.773 GB, free: 13.41 MB / 0.545 GB Notification: Performance of Templates: time 0.002539/0.4173, allocations: 1.197 MB / 0.7742 GB, free: 12.21 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)