Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0007408/0.0007408, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0007137/0.0007137, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8298/0.8298, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.001385/0.001385, allocations: 225.9 kB / 260.2 MB, free: 13.03 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.6325/0.6325, allocations: 138.4 MB / 455.1 MB, free: 30.02 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.6476 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.892e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001014/0.001033, allocations: 0.6031 MB / 0.6482 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004695/0.001503, allocations: 315.6 kB / 0.6485 GB, free: 388 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.001523, allocations: 0 / 0.6485 GB, free: 388 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.001538, allocations: 0 / 0.6485 GB, free: 388 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 1.932e-05/0.001557, allocations: 0 / 0.6485 GB, free: 388 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.001915, allocations: 111.6 kB / 0.6486 GB, free: 276 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.971e-05/0.001965, allocations: 11.94 kB / 0.6486 GB, free: 264 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.002005, allocations: 3.984 kB / 0.6486 GB, free: 260 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.002036, allocations: 11.98 kB / 0.6486 GB, free: 248 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.002084, allocations: 4 kB / 0.6486 GB, free: 244 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.002098, allocations: 0 / 0.6486 GB, free: 244 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2273/0.2294, allocations: 256.5 kB / 0.6489 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.2294, allocations: 0 / 0.6489 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.2294, allocations: 3.625 kB / 0.6489 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.2297, allocations: 123.7 kB / 0.649 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2297, allocations: 0 / 0.649 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2297, allocations: 0.5156 kB / 0.649 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.2297, allocations: 0 / 0.649 GB, free: 56.59 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002574/0.23, allocations: 264.8 kB / 0.6492 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.23, allocations: 11.45 kB / 0.6492 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.2301, allocations: 6.25 kB / 0.6493 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.205e-05/0.2301, allocations: 104.2 kB / 0.6494 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.2301, allocations: 1.344 kB / 0.6494 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.2302, allocations: 3.969 kB / 0.6494 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.128e-05/0.2303, allocations: 64 kB / 0.6494 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.2303, allocations: 192 / 0.6494 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2303, allocations: 2.234 kB / 0.6494 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2303, allocations: 1.25 kB / 0.6494 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.885e-05/0.2303, allocations: 6.531 kB / 0.6494 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.168e-05/0.2304, allocations: 104.5 kB / 0.6495 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.067e-05/0.2304, allocations: 25.91 kB / 0.6496 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.329e-05/0.2304, allocations: 8.953 kB / 0.6496 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000363/0.2308, allocations: 79.06 kB / 0.6496 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.2308, allocations: 33.47 kB / 0.6497 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.2308, allocations: 0 / 0.6497 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0003741/0.2312, allocations: 175 kB / 0.6498 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/0.2312, allocations: 53.62 kB / 0.6499 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.474e-05/0.2312, allocations: 98.72 kB / 0.65 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.2313, allocations: 30.55 kB / 0.65 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.371e-05/0.2313, allocations: 81.56 kB / 0.6501 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.2313, allocations: 16.22 kB / 0.6501 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.2313, allocations: 16.5 kB / 0.6501 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.759e-05/0.2313, allocations: 314.7 kB / 0.6504 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.2314, allocations: 8.672 kB / 0.6504 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.2314, allocations: 18.62 kB / 0.6504 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.2314, allocations: 29.38 kB / 0.6505 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.2314, allocations: 0.875 kB / 0.6505 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.259e-05/0.2315, allocations: 54.72 kB / 0.6505 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2315, allocations: 5.906 kB / 0.6505 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2315, allocations: 3.219 kB / 0.6505 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.2315, allocations: 1.453 kB / 0.6505 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.2315, allocations: 8.062 kB / 0.6505 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.2316, allocations: 5 kB / 0.6505 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.048e-05/0.2316, allocations: 1.031 kB / 0.6505 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.2316, allocations: 2.469 kB / 0.6505 GB, free: 55.11 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.554e-05/0.2316, allocations: 116 kB / 0.6507 GB, free: 55 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.2316, allocations: 2.312 kB / 0.6507 GB, free: 55 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.897e-05/0.2317, allocations: 56.3 kB / 0.6507 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2317, allocations: 2.531 kB / 0.6507 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2317, allocations: 0.8125 kB / 0.6507 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2317, allocations: 7.875 kB / 0.6507 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.852e-05/0.2318, allocations: 102.3 kB / 0.6508 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.2318, allocations: 0.75 kB / 0.6508 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.2318, allocations: 5.016 kB / 0.6508 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.2318, allocations: 2.891 kB / 0.6508 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.2318, allocations: 5 kB / 0.6508 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.2318, allocations: 1.75 kB / 0.6508 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2318, allocations: 5.516 kB / 0.6508 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.083e-05/0.2319, allocations: 83.61 kB / 0.6509 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-06/0.2319, allocations: 1.094 kB / 0.6509 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.2319, allocations: 1.797 kB / 0.6509 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.862e-05/0.2319, allocations: 5.266 kB / 0.6509 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.2319, allocations: 2.812 kB / 0.6509 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2319, allocations: 1.375 kB / 0.6509 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.219e-05/0.2319, allocations: 83.03 kB / 0.651 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2319, allocations: 0.5625 kB / 0.651 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001391/0.2321, allocations: 28.95 kB / 0.651 GB, free: 54.68 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001475/0.2322, allocations: 128.8 kB / 0.6512 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.736e-05/0.2323, allocations: 16.14 kB / 0.6512 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2323, allocations: 0.5 kB / 0.6512 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.2323, allocations: 10.91 kB / 0.6512 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.2324, allocations: 3.062 kB / 0.6512 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001851/0.2326, allocations: 137.4 kB / 0.6513 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.652e-05/0.2326, allocations: 60.69 kB / 0.6514 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.2326, allocations: 13.34 kB / 0.6514 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of SimCode: time 3.41e-07/0.2326, allocations: 0 / 0.6514 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of Templates: time 0.001736/0.2344, allocations: 0.7893 MB / 0.6522 GB, free: 54.36 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.994591370224953] Failed to read output from testmodel.py, exit status != 0: 0.23902878817170858 0.24614015700000003 0.014954855000000001 Calling exit ...