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.001626/0.001626, allocations: 79.83 kB / 19.18 MB, free: 2.512 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.002044/0.002044, allocations: 166.1 kB / 22.46 MB, free: 5.379 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.002683/0.002683, allocations: 249.6 kB / 259.4 MB, free: 484 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 1.141/1.141, allocations: 138.4 MB / 454.3 MB, free: 2.012 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.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.433e-06/1.433e-06, allocations: 0 / 0.6469 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.728e-05, allocations: 10.22 kB / 0.6469 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001556/0.001583, allocations: 0.6237 MB / 0.6475 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.002335, allocations: 324 kB / 0.6478 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.096e-05/0.002356, allocations: 0 / 0.6478 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.002368, allocations: 4 kB / 0.6478 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.737e-05/0.002405, allocations: 7.875 kB / 0.6478 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.002826, allocations: 107.6 kB / 0.6479 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.48e-05/0.002891, allocations: 23.97 kB / 0.6479 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.002925, allocations: 3.984 kB / 0.6479 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.002983, allocations: 19.92 kB / 0.6479 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.003028, allocations: 8 kB / 0.6479 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.003045, allocations: 4 kB / 0.648 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.00343, allocations: 271.5 kB / 0.6482 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.003446, allocations: 4 kB / 0.6482 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.003469, allocations: 11.92 kB / 0.6482 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.003693, allocations: 131.6 kB / 0.6484 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003695, allocations: 0 / 0.6484 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003696, allocations: 0 / 0.6484 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.003699, allocations: 0 / 0.6484 GB, free: 3.449 MB / 0.5606 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.00043/0.004129, allocations: 282.1 kB / 0.6486 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.004163, allocations: 8.75 kB / 0.6486 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.00422, allocations: 8.891 kB / 0.6486 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.004325, allocations: 113.7 kB / 0.6487 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.004338, allocations: 4.375 kB / 0.6487 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.004361, allocations: 8.375 kB / 0.6488 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.004537, allocations: 97.64 kB / 0.6488 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.004547, allocations: 4.125 kB / 0.6489 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.004559, allocations: 8.375 kB / 0.6489 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.004565, allocations: 4.359 kB / 0.6489 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/0.00462, allocations: 19.92 kB / 0.6489 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.004789, allocations: 113.3 kB / 0.649 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.004902, allocations: 54.5 kB / 0.649 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.004952, allocations: 32.84 kB / 0.6491 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005273/0.00548, allocations: 75.91 kB / 0.6491 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.005524, allocations: 38.56 kB / 0.6492 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.005525, allocations: 0 / 0.6492 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001251/0.006776, allocations: 455.8 kB / 0.6496 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.006822, allocations: 51.41 kB / 0.6497 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.006e-05/0.006892, allocations: 97.86 kB / 0.6498 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.006922, allocations: 29.7 kB / 0.6498 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.00696, allocations: 80.14 kB / 0.6499 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.007009, allocations: 47.62 kB / 0.6499 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.007051, allocations: 21.72 kB / 0.6499 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.007206, allocations: 326.8 kB / 0.6502 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/0.007252, allocations: 23.92 kB / 0.6503 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.985e-05/0.007292, allocations: 20 kB / 0.6503 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.007396, allocations: 63.97 kB / 0.6503 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.007397, allocations: 0 / 0.6503 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001771/0.007574, allocations: 93.64 kB / 0.6504 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.007588, allocations: 4 kB / 0.6504 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.007592, allocations: 0 / 0.6504 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.007607, allocations: 3.938 kB / 0.6504 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.007714, allocations: 27.92 kB / 0.6505 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.007719, allocations: 0 / 0.6505 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.007744, allocations: 8 kB / 0.6505 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.007754, allocations: 4 kB / 0.6505 GB, free: 1.031 MB / 0.5606 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 8.794e-05/0.007842, allocations: 113.8 kB / 0.6506 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.007867, allocations: 0 / 0.6506 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.008106, allocations: 117.7 kB / 0.6507 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.00811, allocations: 3.938 kB / 0.6507 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.008113, allocations: 0 / 0.6507 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.008116, allocations: 0 / 0.6507 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.008509, allocations: 298.1 kB / 0.651 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008511, allocations: 0 / 0.651 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.008618, allocations: 23.94 kB / 0.651 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.008627, allocations: 7.922 kB / 0.651 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.008638, allocations: 4 kB / 0.651 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.00864, allocations: 0 / 0.651 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.00864, allocations: 0 / 0.651 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.008975, allocations: 211.8 kB / 0.6512 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.009009, allocations: 16.16 kB / 0.6512 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.009025, allocations: 3.938 kB / 0.6512 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.009109, allocations: 7.984 kB / 0.6513 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.009127, allocations: 3.984 kB / 0.6513 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.009138, allocations: 8.062 kB / 0.6513 GB, free: 160 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.009192, allocations: 91.2 kB / 0.6514 GB, free: 68 kB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.009192, allocations: 0 / 0.6514 GB, free: 68 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002867/0.009479, allocations: 39.94 kB / 0.6514 GB, free: 28 kB / 0.5606 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.2542/0.2637, allocations: 144.8 kB / 0.6515 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.2638, allocations: 55.17 kB / 0.6516 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2638, allocations: 0 / 0.6516 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.2639, allocations: 34.05 kB / 0.6516 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.2641, allocations: 3.438 kB / 0.6516 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.2645, allocations: 165.9 kB / 0.6518 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.2645, allocations: 76.94 kB / 0.6518 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.937e-05/0.2646, allocations: 11.81 kB / 0.6519 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.2646, allocations: 14.84 kB / 0.6519 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2646, allocations: 0 / 0.6519 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.004133/0.2687, allocations: 1.41 MB / 0.6533 GB, free: 56.35 MB / 0.5606 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 sys.exit(0), Time elapsed: 5.840357843786478] Failed to read output from testmodel.py, exit status != 0: 0.27659033983945847 0.28625594400000004 0.280295404 Calling exit ...