Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00142/0.00142, allocations: 109.2 kB / 20.48 MB, free: 1.473 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.001554/0.001554, allocations: 209.8 kB / 23.79 MB, free: 4.684 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.532/1.532, allocations: 230.6 MB / 257.6 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9705/0.9705, allocations: 150 MB / 464 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 66.27 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1862, allocations: 89.17 MB / 0.7291 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002631/0.1888, allocations: 1.459 MB / 0.7305 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007736/0.1896, allocations: 382.8 kB / 0.7309 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.1897, allocations: 4 kB / 0.7309 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.1897, allocations: 7.875 kB / 0.7309 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.036e-05/0.1898, allocations: 7.922 kB / 0.7309 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.1902, allocations: 119.7 kB / 0.731 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.692e-05/0.1903, allocations: 19.92 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.752e-05/0.1904, allocations: 8.281 kB / 0.7311 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.046e-05/0.1905, allocations: 15.92 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.1905, allocations: 7.938 kB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1905, allocations: 0 / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004207/0.1909, allocations: 283.6 kB / 0.7314 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.1909, allocations: 0 / 0.7314 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.191, allocations: 11.94 kB / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.1912, allocations: 119.6 kB / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1912, allocations: 0 / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1912, allocations: 0 / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1912, allocations: 0 / 0.7315 GB, free: 14.83 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.0004812/0.1917, allocations: 290 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1918, allocations: 12.02 kB / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.844e-05/0.1918, allocations: 4.125 kB / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.1918, allocations: 34.75 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.1919, allocations: 8.891 kB / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.192, allocations: 110.5 kB / 0.7319 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.192, allocations: 384 / 0.7319 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.192, allocations: 384 / 0.7319 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.1922, allocations: 57.92 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1922, allocations: 0 / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1923, allocations: 0 / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1923, allocations: 4 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.1925, allocations: 39.95 kB / 0.732 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.1929, allocations: 223.9 kB / 0.7322 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.1931, allocations: 38.55 kB / 0.7323 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.216e-05/0.1932, allocations: 20.91 kB / 0.7323 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005545/0.1937, allocations: 75.92 kB / 0.7324 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.1938, allocations: 34.56 kB / 0.7324 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1938, allocations: 0 / 0.7324 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004238/0.1942, allocations: 89.53 kB / 0.7325 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.1942, allocations: 51.41 kB / 0.7325 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1943, allocations: 105.8 kB / 0.7326 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1944, allocations: 29.7 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.1944, allocations: 84.14 kB / 0.7327 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.1945, allocations: 8.062 kB / 0.7328 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.1945, allocations: 17.72 kB / 0.7328 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1947, allocations: 314.8 kB / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.1948, allocations: 19.92 kB / 0.7331 GB, free: 13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/0.1948, allocations: 15.98 kB / 0.7331 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.195, allocations: 44.81 kB / 0.7331 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.195, allocations: 0 / 0.7331 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002174/0.1952, allocations: 73.59 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1952, allocations: 8 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1952, allocations: 0 / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1953, allocations: 0 / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.1953, allocations: 8 kB / 0.7332 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1954, allocations: 3.984 kB / 0.7332 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.1954, allocations: 11.97 kB / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.1954, allocations: 0 / 0.7332 GB, free: 12.83 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 9.555e-05/0.1955, allocations: 109.8 kB / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.1956, allocations: 7.953 kB / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.1958, allocations: 77.2 kB / 0.7334 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1958, allocations: 7.938 kB / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1958, allocations: 4.031 kB / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1958, allocations: 0 / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.196, allocations: 136.9 kB / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.196, allocations: 0 / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.1961, allocations: 15.98 kB / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1961, allocations: 0 / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1961, allocations: 0 / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1961, allocations: 0 / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1961, allocations: 0 / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.1964, allocations: 167.5 kB / 0.7338 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.1964, allocations: 7.984 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.1964, allocations: 3.984 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.1965, allocations: 7.938 kB / 0.7338 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.1965, allocations: 3.984 kB / 0.7338 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1965, allocations: 4 kB / 0.7338 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.1966, allocations: 83.31 kB / 0.7339 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1966, allocations: 4 kB / 0.7339 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002345/0.1968, allocations: 12 kB / 0.7339 GB, free: 12.11 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.0006931/0.1975, allocations: 0.7151 MB / 0.7346 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1977, allocations: 39.94 kB / 0.7346 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1977, allocations: 0 / 0.7346 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-05/0.1978, allocations: 23.97 kB / 0.7346 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.1981, allocations: 11.94 kB / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.1986, allocations: 143.2 kB / 0.7348 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.1989, allocations: 0.6846 MB / 0.7354 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.157e-05/0.1989, allocations: 0 / 0.7354 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.199, allocations: 7.438 kB / 0.7355 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.199, allocations: 0 / 0.7355 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.221, allocations: 1.748 MB / 0.7372 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.33, allocations: 2.812 kB / 0.7372 GB, free: 8.812 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.192307890043594] Failed to read output from testmodel.py, exit status != 0: 11.496384625963401 11.523890914 11.328437352 Calling exit ...