Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0007444/0.0007444, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007266/0.0007266, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8237/0.8237, allocations: 177.2 MB / 203.5 MB, free: 5.746 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.001272/0.001272, allocations: 233.5 kB / 260.2 MB, free: 13.04 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.6651/0.6651, allocations: 138.4 MB / 455.1 MB, free: 29.97 MB / 410.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.6476 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.513e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001258/0.001283, allocations: 0.6262 MB / 0.6482 GB, free: 0.6562 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004776/0.001761, allocations: 319.5 kB / 0.6485 GB, free: 352 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.001786, allocations: 0 / 0.6485 GB, free: 352 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.001803, allocations: 0 / 0.6485 GB, free: 352 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.638e-05/0.001829, allocations: 0 / 0.6485 GB, free: 352 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.002193, allocations: 123.5 kB / 0.6486 GB, free: 228 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.827e-05/0.002251, allocations: 19.98 kB / 0.6486 GB, free: 208 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.00229, allocations: 7.984 kB / 0.6487 GB, free: 200 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.00234, allocations: 19.92 kB / 0.6487 GB, free: 180 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.002387, allocations: 7.984 kB / 0.6487 GB, free: 172 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.002401, allocations: 0 / 0.6487 GB, free: 172 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2283/0.2307, allocations: 259.2 kB / 0.6489 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.2307, allocations: 5.609 kB / 0.6489 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.2308, allocations: 8 kB / 0.6489 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.231, allocations: 129.5 kB / 0.6491 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.231, allocations: 0.6562 kB / 0.6491 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.503e-06/0.231, allocations: 0 / 0.6491 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.231, allocations: 0 / 0.6491 GB, free: 56.39 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003357/0.2314, allocations: 284.4 kB / 0.6493 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2314, allocations: 10.16 kB / 0.6493 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.2315, allocations: 6.625 kB / 0.6493 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.917e-05/0.2315, allocations: 107 kB / 0.6495 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.2315, allocations: 4.875 kB / 0.6495 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.2316, allocations: 8.906 kB / 0.6495 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.2317, allocations: 102.6 kB / 0.6496 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.2317, allocations: 2.172 kB / 0.6496 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2317, allocations: 4.656 kB / 0.6496 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2317, allocations: 1.25 kB / 0.6496 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.581e-05/0.2317, allocations: 22.38 kB / 0.6496 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001/0.2318, allocations: 118.3 kB / 0.6497 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.943e-05/0.2319, allocations: 56.25 kB / 0.6498 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.232, allocations: 33.02 kB / 0.6498 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003343/0.2323, allocations: 80.48 kB / 0.6499 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.2323, allocations: 33.77 kB / 0.6499 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2323, allocations: 0 / 0.6499 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0007991/0.2331, allocations: 455.7 kB / 0.6503 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.2331, allocations: 53.19 kB / 0.6504 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.346e-05/0.2332, allocations: 100 kB / 0.6505 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.2332, allocations: 30.83 kB / 0.6505 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.182e-05/0.2332, allocations: 80.95 kB / 0.6506 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.2332, allocations: 42.97 kB / 0.6506 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.2333, allocations: 30.42 kB / 0.6507 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.828e-05/0.2333, allocations: 316.7 kB / 0.651 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.2333, allocations: 21.56 kB / 0.651 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.2333, allocations: 21.33 kB / 0.651 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.306e-05/0.2334, allocations: 55.05 kB / 0.6511 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2334, allocations: 1.25 kB / 0.6511 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001091/0.2335, allocations: 106.1 kB / 0.6512 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2335, allocations: 6.625 kB / 0.6512 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2335, allocations: 0.6562 kB / 0.6512 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2336, allocations: 5.188 kB / 0.6512 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.2336, allocations: 20.75 kB / 0.6512 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2336, allocations: 0.75 kB / 0.6512 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.286e-05/0.2337, allocations: 4.016 kB / 0.6512 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.2337, allocations: 5.875 kB / 0.6512 GB, free: 54.77 MB / 0.5573 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 (13): * Single equations (assignments): 13 * 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 4.525e-05/0.2337, allocations: 118.9 kB / 0.6513 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.2337, allocations: 3.219 kB / 0.6513 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.2339, allocations: 105.1 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2339, allocations: 8.562 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2339, allocations: 4.016 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2339, allocations: 0.8125 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.2341, allocations: 294.7 kB / 0.6517 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2341, allocations: 0 / 0.6517 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.2342, allocations: 19.72 kB / 0.6517 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2342, allocations: 5.641 kB / 0.6517 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.2342, allocations: 3.875 kB / 0.6517 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2342, allocations: 1.453 kB / 0.6517 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2342, allocations: 1.188 kB / 0.6517 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.2343, allocations: 223 kB / 0.6519 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.2344, allocations: 14.86 kB / 0.652 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.2344, allocations: 5.797 kB / 0.652 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-05/0.2344, allocations: 3.828 kB / 0.652 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.2344, allocations: 10.59 kB / 0.652 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.2344, allocations: 5.266 kB / 0.652 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.222e-05/0.2344, allocations: 79.81 kB / 0.6521 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2344, allocations: 0 / 0.6521 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001803/0.2346, allocations: 42.88 kB / 0.6521 GB, free: 54.17 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001668/0.2348, allocations: 151.7 kB / 0.6522 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.2349, allocations: 58.38 kB / 0.6523 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.2349, allocations: 0 / 0.6523 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.2349, allocations: 38.95 kB / 0.6523 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.2351, allocations: 7.328 kB / 0.6523 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.2353, allocations: 195 kB / 0.6525 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.769e-05/0.2354, allocations: 73.34 kB / 0.6526 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.2354, allocations: 15.56 kB / 0.6526 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of SimCode: time 4.31e-07/0.2354, allocations: 0 / 0.6526 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of Templates: time 0.002093/0.2375, allocations: 1.25 MB / 0.6538 GB, free: 53.79 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.94155172817409] Failed to read output from testmodel.py, exit status != 0: 0.242547825910151 0.249573922 0.017077886 Calling exit ...