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.001488/0.001488, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00159/0.00159, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.344/1.344, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.00235/0.00235, allocations: 238 kB / 260 MB, free: 472 kB / 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.8871/0.8871, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.002942/0.002942, allocations: 102.3 kB / 0.6473 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3775, allocations: 95.34 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002194/0.3797, allocations: 1.46 MB / 0.7419 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0006336/0.3803, allocations: 356.3 kB / 0.7422 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.3803, allocations: 0 / 0.7422 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.3804, allocations: 4.453 kB / 0.7422 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.322e-05/0.3804, allocations: 5.375 kB / 0.7422 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.3808, allocations: 124.5 kB / 0.7423 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.678e-05/0.3808, allocations: 25.5 kB / 0.7424 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 7.691e-05/0.3809, allocations: 3.594 kB / 0.7424 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/0.3809, allocations: 13.66 kB / 0.7424 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.131e-05/0.381, allocations: 10.31 kB / 0.7424 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.381, allocations: 2.281 kB / 0.7424 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.3814, allocations: 261.8 kB / 0.7426 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.3814, allocations: 9.203 kB / 0.7427 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.3814, allocations: 4.781 kB / 0.7427 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.3816, allocations: 119.7 kB / 0.7428 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3816, allocations: 0 / 0.7428 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3816, allocations: 0 / 0.7428 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.3816, allocations: 0 / 0.7428 GB, free: 16.03 MB / 0.5919 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.00035/0.3819, allocations: 293.8 kB / 0.743 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.382, allocations: 10.78 kB / 0.7431 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.382, allocations: 2.156 kB / 0.7431 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.99e-05/0.3821, allocations: 115.3 kB / 0.7432 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.3821, allocations: 384 / 0.7432 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.3821, allocations: 5.578 kB / 0.7432 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3823, allocations: 58.95 kB / 0.7432 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3823, allocations: 4.125 kB / 0.7432 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-06/0.3823, allocations: 3.938 kB / 0.7432 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3823, allocations: 1.281 kB / 0.7432 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.3824, allocations: 32.25 kB / 0.7433 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.3826, allocations: 201.8 kB / 0.7435 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.3827, allocations: 37.06 kB / 0.7435 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.3828, allocations: 23.16 kB / 0.7435 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004975/0.3833, allocations: 80.56 kB / 0.7436 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.121e-05/0.3833, allocations: 37.03 kB / 0.7436 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3833, allocations: 4 kB / 0.7436 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0003442/0.3837, allocations: 80.69 kB / 0.7437 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.549e-05/0.3837, allocations: 52.81 kB / 0.7438 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.729e-05/0.3837, allocations: 105 kB / 0.7439 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-06/0.3838, allocations: 25.7 kB / 0.7439 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.086e-05/0.3838, allocations: 85.98 kB / 0.744 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.3838, allocations: 6.312 kB / 0.744 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.3838, allocations: 16.5 kB / 0.744 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.348e-05/0.3838, allocations: 318.2 kB / 0.7443 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.3839, allocations: 15.16 kB / 0.7443 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.384, allocations: 21.5 kB / 0.7443 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3841, allocations: 37.8 kB / 0.7444 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3841, allocations: 0 / 0.7444 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00019/0.3843, allocations: 76.73 kB / 0.7444 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.3843, allocations: 5.938 kB / 0.7444 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.3844, allocations: 0 / 0.7444 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3844, allocations: 2.234 kB / 0.7445 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.3844, allocations: 7.5 kB / 0.7445 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3844, allocations: 2.469 kB / 0.7445 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.3845, allocations: 9.906 kB / 0.7445 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.3845, allocations: 4 kB / 0.7445 GB, free: 14.51 MB / 0.5919 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 3.53e-05/0.3845, allocations: 120.3 kB / 0.7446 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.3846, allocations: 6.547 kB / 0.7446 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.3848, allocations: 77.59 kB / 0.7447 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3848, allocations: 1.719 kB / 0.7447 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3848, allocations: 0 / 0.7447 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3848, allocations: 0.7031 kB / 0.7447 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.461e-05/0.3849, allocations: 105.3 kB / 0.7448 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3849, allocations: 0.7969 kB / 0.7448 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.3849, allocations: 13.81 kB / 0.7448 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3849, allocations: 3.938 kB / 0.7448 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.3849, allocations: 0 / 0.7448 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3849, allocations: 6.375 kB / 0.7448 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3849, allocations: 0 / 0.7448 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.3851, allocations: 163.7 kB / 0.745 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-06/0.3851, allocations: 11.19 kB / 0.745 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.3851, allocations: 0 / 0.745 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.3852, allocations: 10.75 kB / 0.745 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.3852, allocations: 2.609 kB / 0.745 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.3852, allocations: 1.312 kB / 0.745 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.334e-05/0.3853, allocations: 89.03 kB / 0.7451 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.3853, allocations: 0 / 0.7451 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002262/0.3855, allocations: 14.12 kB / 0.7451 GB, free: 13.96 MB / 0.5919 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.0001184/0.3856, allocations: 103.5 kB / 0.7452 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.3858, allocations: 40.27 kB / 0.7452 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3858, allocations: 3.938 kB / 0.7452 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.209e-05/0.3859, allocations: 21.62 kB / 0.7452 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.3861, allocations: 1.375 kB / 0.7452 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002039/0.3863, allocations: 124.8 kB / 0.7454 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.057e-05/0.3864, allocations: 60.61 kB / 0.7454 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.3864, allocations: 1.375 kB / 0.7454 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.3864, allocations: 17.98 kB / 0.7454 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.3864, allocations: 0 / 0.7454 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of Templates: time 0.002881/0.3893, allocations: 0.7365 MB / 0.7462 GB, free: 13.56 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.422883453080431] Failed to read output from testmodel.py, exit status != 0: 0.3965227489825338 0.406592648 0.022669902000000002 Calling exit ...