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.000779/0.000779, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007941/0.0007941, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8299/0.8299, 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.001417/0.001417, allocations: 226.3 kB / 260.2 MB, free: 13.02 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.6505/0.6505, allocations: 138.4 MB / 455.1 MB, free: 30 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.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.453e-06/1.453e-06, allocations: 0 / 0.6475 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.996e-05, allocations: 5.375 kB / 0.6475 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.2387/0.2387, allocations: 1.455 MB / 0.649 GB, free: 56.47 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005923/0.2393, allocations: 355.1 kB / 0.6493 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.2394, allocations: 0.7188 kB / 0.6493 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.2394, allocations: 0.6562 kB / 0.6493 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.287e-05/0.2394, allocations: 9.047 kB / 0.6493 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.2398, allocations: 115.4 kB / 0.6494 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.585e-05/0.2399, allocations: 27.91 kB / 0.6494 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.24, allocations: 6.703 kB / 0.6494 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.24, allocations: 16.2 kB / 0.6495 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.266e-05/0.24, allocations: 10.28 kB / 0.6495 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.2401, allocations: 2.219 kB / 0.6495 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.2403, allocations: 260.2 kB / 0.6497 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.2404, allocations: 9.016 kB / 0.6497 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.745e-05/0.2404, allocations: 5.891 kB / 0.6497 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.2406, allocations: 129.7 kB / 0.6499 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2406, allocations: 1.781 kB / 0.6499 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2406, allocations: 0.9375 kB / 0.6499 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.2406, allocations: 3.828 kB / 0.6499 GB, free: 56.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003314/0.2409, allocations: 292.1 kB / 0.6501 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2409, allocations: 14.22 kB / 0.6502 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.241, allocations: 3.734 kB / 0.6502 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.658e-05/0.241, allocations: 110.1 kB / 0.6503 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.2411, allocations: 4.609 kB / 0.6503 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.2411, allocations: 1.406 kB / 0.6503 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.2412, allocations: 50.11 kB / 0.6503 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2412, allocations: 1.422 kB / 0.6503 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.2412, allocations: 1.375 kB / 0.6503 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2412, allocations: 1.312 kB / 0.6503 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.982e-05/0.2413, allocations: 43.06 kB / 0.6504 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.2415, allocations: 196.4 kB / 0.6505 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.302e-05/0.2416, allocations: 36.69 kB / 0.6506 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.2416, allocations: 25 kB / 0.6506 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.2419, allocations: 80.36 kB / 0.6507 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.242, allocations: 32.11 kB / 0.6507 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.242, allocations: 0.9062 kB / 0.6507 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002329/0.2422, allocations: 90.58 kB / 0.6508 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.2422, allocations: 52.31 kB / 0.6509 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.988e-05/0.2423, allocations: 113.9 kB / 0.651 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-06/0.2423, allocations: 26.52 kB / 0.651 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.2423, allocations: 89.06 kB / 0.6511 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.2423, allocations: 12.91 kB / 0.6511 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.2423, allocations: 12.92 kB / 0.6511 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.924e-05/0.2423, allocations: 317.8 kB / 0.6514 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.2424, allocations: 14.19 kB / 0.6514 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.2424, allocations: 16.95 kB / 0.6514 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.511e-05/0.2425, allocations: 42.41 kB / 0.6515 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2425, allocations: 0.8125 kB / 0.6515 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001113/0.2426, allocations: 73.75 kB / 0.6515 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2426, allocations: 5.969 kB / 0.6515 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2426, allocations: 6.688 kB / 0.6516 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2426, allocations: 2.203 kB / 0.6516 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.2427, allocations: 9.266 kB / 0.6516 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.2427, allocations: 0.7812 kB / 0.6516 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.2427, allocations: 6.062 kB / 0.6516 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.2427, allocations: 2.938 kB / 0.6516 GB, free: 55.01 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 (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 3.691e-05/0.2428, allocations: 113 kB / 0.6517 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.2428, allocations: 1.656 kB / 0.6517 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.2429, allocations: 77.94 kB / 0.6518 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2429, allocations: 4.5 kB / 0.6518 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2429, allocations: 3.125 kB / 0.6518 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2429, allocations: 0.5625 kB / 0.6518 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.274e-05/0.243, allocations: 105.4 kB / 0.6519 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.243, allocations: 2.109 kB / 0.6519 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.243, allocations: 8.938 kB / 0.6519 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.243, allocations: 0.9375 kB / 0.6519 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.243, allocations: 0.9375 kB / 0.6519 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.243, allocations: 5.438 kB / 0.6519 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.243, allocations: 1.125 kB / 0.6519 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.2431, allocations: 164.7 kB / 0.652 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.2431, allocations: 7.656 kB / 0.652 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-06/0.2431, allocations: 0 / 0.652 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.2432, allocations: 10.67 kB / 0.6521 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.2432, allocations: 2.031 kB / 0.6521 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.2432, allocations: 3.938 kB / 0.6521 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.635e-05/0.2432, allocations: 86.59 kB / 0.6521 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2432, allocations: 4.781 kB / 0.6522 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001447/0.2434, allocations: 18.06 kB / 0.6522 GB, free: 54.5 MB / 0.5573 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.0001356/0.2435, allocations: 113.1 kB / 0.6523 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.2436, allocations: 40.05 kB / 0.6523 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2436, allocations: 0 / 0.6523 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.2437, allocations: 20.2 kB / 0.6523 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.2439, allocations: 1.688 kB / 0.6523 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002106/0.2441, allocations: 141.7 kB / 0.6525 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.154e-05/0.2441, allocations: 69.97 kB / 0.6525 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.2441, allocations: 13.34 kB / 0.6525 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of SimCode: time 3.61e-07/0.2441, allocations: 0 / 0.6525 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.001574/0.2457, allocations: 0.7145 MB / 0.6532 GB, free: 54.18 MB / 0.5573 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.202625860460103] Failed to read output from testmodel.py, exit status != 0: 0.25040998216718435 0.257264721 0.015159289000000001 Calling exit ...