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.00179/0.00179, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00216/0.00216, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.462/1.462, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.002488/0.002488, allocations: 232.2 kB / 259.4 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 1.137/1.137, allocations: 138.4 MB / 454.3 MB, free: 2 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: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.6468 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.156e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002578/0.002599, allocations: 1.465 MB / 0.6482 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007062/0.003305, allocations: 355.6 kB / 0.6486 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.00333, allocations: 0 / 0.6486 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.003355, allocations: 3.938 kB / 0.6486 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.003401, allocations: 11.92 kB / 0.6486 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.003808, allocations: 115.6 kB / 0.6487 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.265e-05/0.003861, allocations: 23.88 kB / 0.6487 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.184e-05/0.003923, allocations: 7.984 kB / 0.6487 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.228e-05/0.003975, allocations: 15.92 kB / 0.6487 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.418e-05/0.004009, allocations: 11.98 kB / 0.6487 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.004022, allocations: 0 / 0.6487 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003955/0.004417, allocations: 263.6 kB / 0.649 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.004432, allocations: 4 kB / 0.649 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.004451, allocations: 7.938 kB / 0.649 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.004686, allocations: 139.6 kB / 0.6491 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004688, allocations: 0 / 0.6491 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004688, allocations: 0 / 0.6491 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.035e-06/0.004691, allocations: 0 / 0.6491 GB, free: 2.574 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004439/0.005135, allocations: 294 kB / 0.6494 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.005167, allocations: 9.938 kB / 0.6494 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.005214, allocations: 0.9375 kB / 0.6494 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.00533, allocations: 109.8 kB / 0.6495 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.005349, allocations: 384 / 0.6495 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.005363, allocations: 4.375 kB / 0.6495 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.005534, allocations: 54.23 kB / 0.6496 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.005542, allocations: 192 / 0.6496 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.005552, allocations: 4.375 kB / 0.6496 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.005555, allocations: 384 / 0.6496 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.005737, allocations: 39.84 kB / 0.6496 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.006021, allocations: 196.6 kB / 0.6498 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.006156, allocations: 42.55 kB / 0.6499 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.969e-05/0.006245, allocations: 20.91 kB / 0.6499 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005204/0.006766, allocations: 75.86 kB / 0.65 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.006797, allocations: 38.56 kB / 0.65 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.006799, allocations: 0 / 0.65 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003814/0.00718, allocations: 89.52 kB / 0.6501 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.007223, allocations: 51.41 kB / 0.6501 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.00731, allocations: 105.8 kB / 0.6502 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.007328, allocations: 25.7 kB / 0.6503 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.007383, allocations: 92.08 kB / 0.6503 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.007397, allocations: 4.078 kB / 0.6503 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.007437, allocations: 17.7 kB / 0.6504 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.00758, allocations: 318.8 kB / 0.6507 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.007668, allocations: 11.98 kB / 0.6507 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.007751, allocations: 19.98 kB / 0.6507 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.007918, allocations: 44.75 kB / 0.6507 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.00792, allocations: 0 / 0.6507 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002302/0.00815, allocations: 69.69 kB / 0.6508 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.008166, allocations: 14.89 kB / 0.6508 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.008171, allocations: 3.938 kB / 0.6508 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.008181, allocations: 0 / 0.6508 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/0.008259, allocations: 8 kB / 0.6508 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.008263, allocations: 0 / 0.6508 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.008315, allocations: 11.98 kB / 0.6508 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.008319, allocations: 256 / 0.6508 GB, free: 0.6602 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 (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 7.752e-05/0.008397, allocations: 109.9 kB / 0.6509 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.008433, allocations: 4 kB / 0.651 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.008692, allocations: 85.14 kB / 0.651 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008694, allocations: 0 / 0.651 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.0087, allocations: 4 kB / 0.651 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.008703, allocations: 0 / 0.651 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.008836, allocations: 105.3 kB / 0.6511 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.008841, allocations: 7.984 kB / 0.6511 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.008901, allocations: 8.031 kB / 0.6512 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.008903, allocations: 0 / 0.6512 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.008908, allocations: 0 / 0.6512 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.008911, allocations: 7.875 kB / 0.6512 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008912, allocations: 4 kB / 0.6512 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.009206, allocations: 167.5 kB / 0.6513 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.009214, allocations: 7.922 kB / 0.6513 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.009228, allocations: 4 kB / 0.6513 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.009308, allocations: 11.97 kB / 0.6513 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.009339, allocations: 3.984 kB / 0.6514 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.009343, allocations: 0 / 0.6514 GB, free: 76 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2507/0.26, allocations: 80.09 kB / 0.6514 GB, free: 56.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.26, allocations: 0 / 0.6514 GB, free: 56.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003451/0.2603, allocations: 16.61 kB / 0.6514 GB, free: 56.8 MB / 0.5606 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.000212/0.2606, allocations: 107.6 kB / 0.6515 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002813/0.2608, allocations: 39.2 kB / 0.6516 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2608, allocations: 0 / 0.6516 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.921e-05/0.2609, allocations: 19.17 kB / 0.6516 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.2613, allocations: 5.562 kB / 0.6516 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.2616, allocations: 116 kB / 0.6517 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.2616, allocations: 62.73 kB / 0.6518 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.168e-05/0.2616, allocations: 0.5 kB / 0.6518 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.2616, allocations: 9.438 kB / 0.6518 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.2616, allocations: 0 / 0.6518 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.003143/0.2648, allocations: 0.7534 MB / 0.6525 GB, free: 56.52 MB / 0.5606 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.849486418068409] Failed to read output from testmodel.py, exit status != 0: 0.2724735476076603 0.281629497 0.274781873 Calling exit ...