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.001336/0.001336, allocations: 78.03 kB / 19 MB, free: 2.867 MB / 14.72 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.001612/0.001612, allocations: 163 kB / 22.26 MB, free: 5.133 MB / 14.72 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.353/1.353, allocations: 177.2 MB / 202.6 MB, free: 9.27 MB / 190.1 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.002358/0.002358, allocations: 233 kB / 259.2 MB, free: 0.5898 MB / 238.1 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.9945/0.9945, allocations: 138.5 MB / 454.2 MB, free: 2.074 MB / 366.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002964/0.002964, allocations: 103.8 kB / 0.6466 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3795, allocations: 95.35 MB / 0.7397 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002537/0.382, allocations: 1.47 MB / 0.7411 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007341/0.3827, allocations: 354.2 kB / 0.7415 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.3828, allocations: 0 / 0.7415 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.3828, allocations: 3.984 kB / 0.7415 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.3828, allocations: 7.938 kB / 0.7415 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.3832, allocations: 111.7 kB / 0.7416 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.561e-05/0.3833, allocations: 23.92 kB / 0.7416 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.364e-05/0.3834, allocations: 8 kB / 0.7416 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.883e-05/0.3834, allocations: 19.92 kB / 0.7416 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.247e-05/0.3835, allocations: 7.938 kB / 0.7417 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.3835, allocations: 3.938 kB / 0.7417 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.3838, allocations: 267.6 kB / 0.7419 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.3839, allocations: 7.984 kB / 0.7419 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.3839, allocations: 3.938 kB / 0.7419 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.3841, allocations: 112.8 kB / 0.742 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3841, allocations: 0 / 0.742 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3841, allocations: 0 / 0.742 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3841, allocations: 4 kB / 0.742 GB, free: 12.85 MB / 0.5762 GB 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.0004823/0.3846, allocations: 294 kB / 0.7423 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3846, allocations: 9.344 kB / 0.7423 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.3847, allocations: 8.922 kB / 0.7423 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3848, allocations: 110.5 kB / 0.7424 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3848, allocations: 384 / 0.7424 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3848, allocations: 384 / 0.7424 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.385, allocations: 54.17 kB / 0.7425 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.385, allocations: 192 / 0.7425 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.385, allocations: 7.938 kB / 0.7425 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.385, allocations: 0 / 0.7425 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.3852, allocations: 35.91 kB / 0.7425 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.3855, allocations: 200.6 kB / 0.7427 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.3856, allocations: 38.55 kB / 0.7428 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.3857, allocations: 24.89 kB / 0.7428 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005432/0.3863, allocations: 83.86 kB / 0.7429 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.3863, allocations: 30.56 kB / 0.7429 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3863, allocations: 3.938 kB / 0.7429 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003728/0.3867, allocations: 85.64 kB / 0.743 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.3867, allocations: 55.41 kB / 0.743 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.3868, allocations: 109.8 kB / 0.7431 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.3868, allocations: 25.7 kB / 0.7432 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.3869, allocations: 80.14 kB / 0.7432 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3869, allocations: 11.89 kB / 0.7433 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.3869, allocations: 17.7 kB / 0.7433 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3871, allocations: 310.8 kB / 0.7436 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.052e-05/0.3872, allocations: 24.11 kB / 0.7436 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.987e-05/0.3873, allocations: 11.98 kB / 0.7436 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3874, allocations: 48.75 kB / 0.7436 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3874, allocations: 0 / 0.7436 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002008/0.3876, allocations: 69.56 kB / 0.7437 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3876, allocations: 8.094 kB / 0.7437 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3876, allocations: 8.234 kB / 0.7437 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3876, allocations: 0 / 0.7437 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.3877, allocations: 8 kB / 0.7437 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3877, allocations: 3.984 kB / 0.7437 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.3878, allocations: 7.984 kB / 0.7437 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.3878, allocations: 0 / 0.7437 GB, free: 10.92 MB / 0.5762 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 (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 8.708e-05/0.3879, allocations: 113.8 kB / 0.7439 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.3879, allocations: 3.938 kB / 0.7439 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.3881, allocations: 81.22 kB / 0.7439 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3881, allocations: 3.984 kB / 0.7439 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3881, allocations: 4 kB / 0.7439 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3881, allocations: 0 / 0.7439 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.3883, allocations: 97.33 kB / 0.744 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3883, allocations: 0 / 0.744 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.419e-05/0.3883, allocations: 11.98 kB / 0.744 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3883, allocations: 3.938 kB / 0.7441 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.3883, allocations: 4 kB / 0.7441 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.3884, allocations: 7.969 kB / 0.7441 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3884, allocations: 0 / 0.7441 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.3886, allocations: 163.5 kB / 0.7442 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.3886, allocations: 7.891 kB / 0.7442 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.3886, allocations: 7.984 kB / 0.7442 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.3887, allocations: 4 kB / 0.7442 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3887, allocations: 3.984 kB / 0.7442 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3887, allocations: 4 kB / 0.7442 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.181e-05/0.3888, allocations: 87.31 kB / 0.7443 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.3888, allocations: 0 / 0.7443 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002444/0.389, allocations: 19.88 kB / 0.7443 GB, free: 10.24 MB / 0.5762 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 (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.0001581/0.3892, allocations: 107.2 kB / 0.7445 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.3894, allocations: 31.97 kB / 0.7445 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3894, allocations: 0 / 0.7445 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.877e-05/0.3895, allocations: 31.97 kB / 0.7445 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.3898, allocations: 0 / 0.7445 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002618/0.39, allocations: 113.5 kB / 0.7446 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.408e-05/0.3901, allocations: 59.36 kB / 0.7447 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.3901, allocations: 3.984 kB / 0.7447 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.3901, allocations: 8.5 kB / 0.7447 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.3901, allocations: 0 / 0.7447 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of Templates: time 0.003008/0.3931, allocations: 0.7536 MB / 0.7454 GB, free: 9.09 MB / 0.5762 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.474457578733563] Failed to read output from testmodel.py, exit status != 0: 0.40095736645162106 0.41460081299999996 0.02760075999999994 Calling exit ...