Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.001521/0.001521, 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.00156/0.00156, 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.335/1.335, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.002306/0.002306, allocations: 232.3 kB / 260 MB, free: 464 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.8846/0.8846, allocations: 138.5 MB / 455 MB, free: 15.07 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.003013/0.003013, allocations: 106.5 kB / 0.6474 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3843, allocations: 95.34 MB / 0.7405 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001405/0.3857, allocations: 0.5854 MB / 0.7411 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0004961/0.3862, allocations: 297.1 kB / 0.7413 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-06/0.3862, allocations: 4 kB / 0.7413 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.396e-06/0.3862, allocations: 0 / 0.7413 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 2.665e-06/0.3862, allocations: 0 / 0.7413 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.3865, allocations: 109.2 kB / 0.7415 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 2.088e-05/0.3865, allocations: 1.922 kB / 0.7415 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 2.412e-05/0.3865, allocations: 5.703 kB / 0.7415 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-06/0.3866, allocations: 1.25 kB / 0.7415 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.157e-06/0.3866, allocations: 0 / 0.7415 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.93e-06/0.3866, allocations: 5.281 kB / 0.7415 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.3869, allocations: 260.6 kB / 0.7417 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.442e-06/0.387, allocations: 0 / 0.7417 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.905e-06/0.387, allocations: 5.312 kB / 0.7417 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.3871, allocations: 88.44 kB / 0.7418 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3871, allocations: 0.7969 kB / 0.7418 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.72e-07/0.3871, allocations: 0 / 0.7418 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.846e-06/0.3871, allocations: 0 / 0.7418 GB, free: 16.78 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001415/0.3873, allocations: 263 kB / 0.7421 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.377e-05/0.3873, allocations: 11.44 kB / 0.7421 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.3873, allocations: 6.188 kB / 0.7421 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.867e-05/0.3873, allocations: 104.5 kB / 0.7422 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.3873, allocations: 4.312 kB / 0.7422 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-06/0.3873, allocations: 1.656 kB / 0.7422 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.605e-05/0.3874, allocations: 32.47 kB / 0.7422 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.3874, allocations: 192 / 0.7422 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-06/0.3874, allocations: 3.938 kB / 0.7422 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-06/0.3874, allocations: 1.156 kB / 0.7422 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.139e-05/0.3874, allocations: 5.641 kB / 0.7422 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.158e-05/0.3875, allocations: 100.1 kB / 0.7423 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 2.267e-05/0.3875, allocations: 17.84 kB / 0.7423 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-06/0.3875, allocations: 12.86 kB / 0.7423 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002827/0.3878, allocations: 41.83 kB / 0.7424 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.3878, allocations: 31.59 kB / 0.7424 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.3878, allocations: 0 / 0.7424 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 8.573e-05/0.3879, allocations: 49.03 kB / 0.7425 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.582e-05/0.3879, allocations: 56.72 kB / 0.7425 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.364e-05/0.3879, allocations: 90.38 kB / 0.7426 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-06/0.3879, allocations: 25.7 kB / 0.7426 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-06/0.3879, allocations: 81.08 kB / 0.7427 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.3879, allocations: 4.688 kB / 0.7427 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.388, allocations: 11.91 kB / 0.7427 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.386e-05/0.388, allocations: 312.9 kB / 0.743 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.388, allocations: 1.766 kB / 0.743 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.388, allocations: 1.25 kB / 0.743 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.957e-05/0.388, allocations: 12.88 kB / 0.743 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.388, allocations: 4.062 kB / 0.743 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.117e-05/0.3881, allocations: 36.7 kB / 0.7431 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.3881, allocations: 5.531 kB / 0.7431 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3881, allocations: 4.734 kB / 0.7431 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3881, allocations: 0 / 0.7431 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.99e-05/0.3881, allocations: 6.484 kB / 0.7431 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.3881, allocations: 1.094 kB / 0.7431 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.155e-06/0.3882, allocations: 0 / 0.7431 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.3882, allocations: 2.109 kB / 0.7431 GB, free: 15.41 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 (1): * Single equations (assignments): 1 * 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.245e-05/0.3882, allocations: 106.9 kB / 0.7432 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.3882, allocations: 5.984 kB / 0.7432 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.3883, allocations: 43.42 kB / 0.7432 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3883, allocations: 3.938 kB / 0.7432 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.3883, allocations: 1.828 kB / 0.7432 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.3883, allocations: 0 / 0.7432 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.263e-05/0.3883, allocations: 96.06 kB / 0.7433 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3883, allocations: 1.156 kB / 0.7433 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.104e-05/0.3883, allocations: 1.656 kB / 0.7433 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3883, allocations: 5.125 kB / 0.7433 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-06/0.3883, allocations: 4.594 kB / 0.7433 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3883, allocations: 0 / 0.7433 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3883, allocations: 9.203 kB / 0.7434 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.544e-05/0.3884, allocations: 59.19 kB / 0.7434 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-06/0.3884, allocations: 1.156 kB / 0.7434 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.3884, allocations: 0.7031 kB / 0.7434 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-06/0.3884, allocations: 5.219 kB / 0.7434 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.3884, allocations: 4.641 kB / 0.7434 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.3884, allocations: 5.125 kB / 0.7434 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.969e-06/0.3884, allocations: 75.28 kB / 0.7435 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.3884, allocations: 5.156 kB / 0.7435 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001813/0.3886, allocations: 8.859 kB / 0.7435 GB, free: 14.95 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 (1): * Single equations (assignments): 1 * 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.000118/0.3887, allocations: 108.9 kB / 0.7436 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.942e-05/0.3888, allocations: 9.062 kB / 0.7436 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.3888, allocations: 0 / 0.7436 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-06/0.3888, allocations: 3.25 kB / 0.7436 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.3889, allocations: 0.875 kB / 0.7436 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001204/0.389, allocations: 77.39 kB / 0.7437 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.062e-05/0.389, allocations: 59.34 kB / 0.7438 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.267e-05/0.3891, allocations: 1.062 kB / 0.7438 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.037e-05/0.3891, allocations: 8.5 kB / 0.7438 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.3891, allocations: 4.969 kB / 0.7438 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of Templates: time 0.002418/0.3915, allocations: 470.9 kB / 0.7442 GB, free: 14.59 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.348551205941476] Failed to read output from testmodel.py, exit status != 0: 0.39873536792583764 0.40834229999999994 0.018946429 Calling exit ...