Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.005115/0.005115, allocations: 247.7 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7331/0.7331, allocations: 138.4 MB / 402.2 MB, free: 0.5391 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.204e-05, allocations: 5.391 kB / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.005133/0.005145, allocations: 1.502 MB / 463.8 MB, free: 15.94 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006306/0.005776, allocations: 369.3 kB / 464.2 MB, free: 15.72 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.005806, allocations: 0.625 kB / 464.2 MB, free: 15.72 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.00583, allocations: 0.5625 kB / 464.2 MB, free: 15.72 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.005877, allocations: 7.578 kB / 464.2 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.006271, allocations: 116.5 kB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.402e-05/0.006335, allocations: 26.55 kB / 464.3 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.817e-05/0.006403, allocations: 9.453 kB / 464.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.891e-05/0.006462, allocations: 13.19 kB / 464.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.634e-05/0.006498, allocations: 11.42 kB / 464.4 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.006512, allocations: 2.281 kB / 464.4 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.006865, allocations: 259.4 kB / 464.6 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.007017, allocations: 6.891 kB / 464.6 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.007036, allocations: 10.09 kB / 464.6 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.007255, allocations: 135.4 kB / 464.8 MB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.007257, allocations: 0.7812 kB / 464.8 MB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007258, allocations: 1.344 kB / 464.8 MB, free: 15.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.007262, allocations: 2.141 kB / 464.8 MB, free: 15.55 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003319/0.01058, allocations: 256.9 kB / 465 MB, free: 15.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.01062, allocations: 11.7 kB / 465 MB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.192e-05/0.01068, allocations: 3.719 kB / 465 MB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.01076, allocations: 111.2 kB / 465.1 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.01077, allocations: 6.25 kB / 465.1 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.01078, allocations: 1.781 kB / 465.2 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.753e-05/0.01087, allocations: 53.27 kB / 465.2 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.01088, allocations: 1.25 kB / 465.2 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.01089, allocations: 0.9844 kB / 465.2 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.01089, allocations: 3.578 kB / 465.2 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.01092, allocations: 11.42 kB / 465.2 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.01111, allocations: 149.4 kB / 465.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.01115, allocations: 20.12 kB / 465.4 MB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.01116, allocations: 6.984 kB / 465.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.01147, allocations: 80.61 kB / 465.5 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.0115, allocations: 37.58 kB / 465.5 MB, free: 14.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.0115, allocations: 0.5312 kB / 465.5 MB, free: 14.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001243/0.01162, allocations: 40.62 kB / 465.5 MB, free: 14.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.01165, allocations: 57.02 kB / 465.6 MB, free: 14.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/0.01172, allocations: 110.5 kB / 465.7 MB, free: 14.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.01173, allocations: 25.7 kB / 465.7 MB, free: 14.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.01176, allocations: 83.53 kB / 465.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.01177, allocations: 6.312 kB / 465.8 MB, free: 14.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.0118, allocations: 16.59 kB / 465.8 MB, free: 14.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.063e-05/0.01188, allocations: 318.4 kB / 466.2 MB, free: 14.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.01189, allocations: 2.172 kB / 466.2 MB, free: 14.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-06/0.0119, allocations: 3.688 kB / 466.2 MB, free: 14.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.583e-05/0.01193, allocations: 15.14 kB / 466.2 MB, free: 14.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01193, allocations: 0.5625 kB / 466.2 MB, free: 14.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.91e-05/0.012, allocations: 37.73 kB / 466.2 MB, free: 14.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.01201, allocations: 5.094 kB / 466.2 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01202, allocations: 0.75 kB / 466.2 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.01203, allocations: 2.375 kB / 466.2 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.01208, allocations: 10.97 kB / 466.2 MB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.01208, allocations: 0.75 kB / 466.2 MB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.0121, allocations: 3.312 kB / 466.2 MB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.01211, allocations: 1.281 kB / 466.2 MB, free: 14.17 MB / 426.7 MB 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 (2): * Single equations (assignments): 2 * 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 5.46e-05/0.01216, allocations: 108.4 kB / 466.3 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.01219, allocations: 4.328 kB / 466.3 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.01227, allocations: 51.78 kB / 466.4 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01227, allocations: 1.422 kB / 466.4 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.01227, allocations: 5.5 kB / 466.4 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.01228, allocations: 3.5 kB / 466.4 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.01238, allocations: 65.2 kB / 466.5 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.01238, allocations: 1.531 kB / 466.5 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.0124, allocations: 5.781 kB / 466.5 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01241, allocations: 2.203 kB / 466.5 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.01241, allocations: 0 / 466.5 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01241, allocations: 5.609 kB / 466.5 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01241, allocations: 1.594 kB / 466.5 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.678e-05/0.0125, allocations: 137.6 kB / 466.6 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.01251, allocations: 13.69 kB / 466.6 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-06/0.01252, allocations: 1.219 kB / 466.6 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.549e-05/0.01256, allocations: 4.219 kB / 466.6 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.01259, allocations: 3.75 kB / 466.6 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.01259, allocations: 1.172 kB / 466.6 MB, free: 13.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.575e-05/0.01261, allocations: 18.08 kB / 466.7 MB, free: 13.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01261, allocations: 0 / 466.7 MB, free: 13.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.0128, allocations: 17.39 kB / 466.7 MB, free: 13.77 MB / 426.7 MB 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 (2): * Single equations (assignments): 2 * 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.0001186/0.01292, allocations: 91.58 kB / 466.8 MB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.194e-05/0.01297, allocations: 17 kB / 466.8 MB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01298, allocations: 0 / 466.8 MB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.57e-05/0.01299, allocations: 14.61 kB / 466.8 MB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.01315, allocations: 5.391 kB / 466.8 MB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.01635, allocations: 113.7 kB / 466.9 MB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.01639, allocations: 55.72 kB / 467 MB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.672e-05/0.0164, allocations: 2.156 kB / 467 MB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.01644, allocations: 51.23 kB / 467 MB, free: 13.45 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01644, allocations: 1.438 kB / 467 MB, free: 13.45 MB / 426.7 MB Notification: Performance of Templates: time 0.002491/0.01893, allocations: 0.7979 MB / 467.8 MB, free: 13.01 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6204926278442144]