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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 103 kB / 16.4 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 199.8 kB / 19.35 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00259/0.00259, allocations: 284 kB / 297.5 MB, free: 12.35 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.236/1.236, allocations: 178.6 MB / 0.5159 GB, free: 12.45 MB / 382.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 95.84 kB / 0.7052 GB, free: 11.76 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5196, allocations: 89.13 MB / 0.7923 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002847/0.5225, allocations: 1.246 MB / 0.7935 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.5242, allocations: 0.8686 MB / 0.7943 GB, free: 484 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.5242, allocations: 0 / 0.7943 GB, free: 484 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.5243, allocations: 7.922 kB / 0.7943 GB, free: 476 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.5244, allocations: 5.094 kB / 0.7943 GB, free: 472 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.5249, allocations: 137.9 kB / 0.7945 GB, free: 376 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.525, allocations: 32.73 kB / 0.7945 GB, free: 356 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.5251, allocations: 2.094 kB / 0.7945 GB, free: 356 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.5252, allocations: 15.16 kB / 0.7945 GB, free: 348 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.5252, allocations: 14.19 kB / 0.7945 GB, free: 340 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.5253, allocations: 1.375 kB / 0.7945 GB, free: 340 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.5256, allocations: 160.2 kB / 0.7947 GB, free: 260 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.5256, allocations: 9.109 kB / 0.7947 GB, free: 252 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.5256, allocations: 12.22 kB / 0.7947 GB, free: 244 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.5259, allocations: 122.4 kB / 0.7948 GB, free: 180 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5259, allocations: 0 / 0.7948 GB, free: 180 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5259, allocations: 3.938 kB / 0.7948 GB, free: 176 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.5259, allocations: 3.938 kB / 0.7948 GB, free: 172 kB / 0.545 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.0005107/0.5264, allocations: 360.6 kB / 0.7952 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.5265, allocations: 9.812 kB / 0.7952 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.5265, allocations: 2.031 kB / 0.7952 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.5267, allocations: 165.4 kB / 0.7953 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.5267, allocations: 5.781 kB / 0.7953 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.5267, allocations: 1.312 kB / 0.7954 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.5268, allocations: 45.81 kB / 0.7954 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5268, allocations: 1.125 kB / 0.7954 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.5268, allocations: 0 / 0.7954 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5269, allocations: 1.25 kB / 0.7954 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.527, allocations: 34.28 kB / 0.7954 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.5272, allocations: 155.9 kB / 0.7956 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.908e-05/0.5273, allocations: 41.72 kB / 0.7956 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.5273, allocations: 15.8 kB / 0.7956 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.5275, allocations: 87.47 kB / 0.7957 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.5275, allocations: 43.55 kB / 0.7958 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.5275, allocations: 0 / 0.7958 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0002258/0.5278, allocations: 69.42 kB / 0.7958 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.5278, allocations: 51.41 kB / 0.7959 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.5279, allocations: 97.83 kB / 0.796 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.5279, allocations: 25.7 kB / 0.796 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.528, allocations: 80.14 kB / 0.7961 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.528, allocations: 22.3 kB / 0.7961 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.5281, allocations: 19.16 kB / 0.7961 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5282, allocations: 312 kB / 0.7964 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.5282, allocations: 4.469 kB / 0.7964 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.5283, allocations: 13.58 kB / 0.7964 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.062e-05/0.5283, allocations: 29.36 kB / 0.7964 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5283, allocations: 3.938 kB / 0.7965 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.095e-05/0.5284, allocations: 60.59 kB / 0.7965 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5285, allocations: 9.188 kB / 0.7965 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.5285, allocations: 0 / 0.7965 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5285, allocations: 1.312 kB / 0.7965 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.5286, allocations: 11.77 kB / 0.7965 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.5286, allocations: 3.984 kB / 0.7965 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.5286, allocations: 5.359 kB / 0.7965 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.5286, allocations: 5.406 kB / 0.7965 GB, free: 14.35 MB / 0.5606 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 8.718e-05/0.5287, allocations: 112.2 kB / 0.7967 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.5287, allocations: 5.625 kB / 0.7967 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.5289, allocations: 79.55 kB / 0.7967 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5289, allocations: 5.312 kB / 0.7967 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.529, allocations: 0 / 0.7967 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.529, allocations: 5.266 kB / 0.7967 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.5291, allocations: 164.6 kB / 0.7969 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5291, allocations: 0 / 0.7969 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.5292, allocations: 13.48 kB / 0.7969 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.5292, allocations: 3.938 kB / 0.7969 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.5292, allocations: 1.219 kB / 0.7969 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5292, allocations: 1.281 kB / 0.7969 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5292, allocations: 0 / 0.7969 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.5293, allocations: 87.61 kB / 0.797 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.5294, allocations: 90.8 kB / 0.7971 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.5294, allocations: 8.953 kB / 0.7971 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.5294, allocations: 0 / 0.7971 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.5295, allocations: 3.25 kB / 0.7971 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.5295, allocations: 2.125 kB / 0.7971 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.187e-05/0.5295, allocations: 76.97 kB / 0.7972 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5295, allocations: 0 / 0.7972 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002546/0.5298, allocations: 50.11 kB / 0.7972 GB, free: 13.67 MB / 0.5606 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.0002815/0.5301, allocations: 160.1 kB / 0.7974 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.5302, allocations: 34.39 kB / 0.7974 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5302, allocations: 0 / 0.7974 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.5303, allocations: 16.2 kB / 0.7974 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.5304, allocations: 7.375 kB / 0.7974 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.5307, allocations: 123.5 kB / 0.7976 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.531, allocations: 0.6817 MB / 0.7982 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.619e-05/0.5311, allocations: 14.83 kB / 0.7982 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.5311, allocations: 11 kB / 0.7982 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.5311, allocations: 3.938 kB / 0.7982 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.004307/0.5354, allocations: 1.192 MB / 0.7994 GB, free: 12.06 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.177603029645979]