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.002152/0.002152, allocations: 114.9 kB / 17.84 MB, free: 5.336 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.002366/0.002366, allocations: 201.6 kB / 20.8 MB, free: 2.391 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.527/1.527, allocations: 230.6 MB / 254.2 MB, free: 15.12 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.9939/0.9939, allocations: 150 MB / 460.2 MB, free: 5.309 MB / 350.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.002017/0.002017, allocations: 65.8 kB / 0.6368 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1802, allocations: 89.13 MB / 0.7238 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.003713/0.184, allocations: 1.456 MB / 0.7253 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000943/0.1849, allocations: 388.6 kB / 0.7256 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.185, allocations: 4 kB / 0.7256 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.185, allocations: 0 / 0.7256 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.089e-05/0.185, allocations: 3.938 kB / 0.7256 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.1856, allocations: 118.6 kB / 0.7258 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.427e-05/0.1857, allocations: 27.92 kB / 0.7258 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1858, allocations: 288 / 0.7258 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.1858, allocations: 11.98 kB / 0.7258 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.1859, allocations: 23.86 kB / 0.7258 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1859, allocations: 4 kB / 0.7258 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.1863, allocations: 275.6 kB / 0.7261 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.1863, allocations: 3.984 kB / 0.7261 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.1864, allocations: 11.94 kB / 0.7261 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1866, allocations: 111.6 kB / 0.7262 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1866, allocations: 0 / 0.7262 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1866, allocations: 0 / 0.7262 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.1866, allocations: 0 / 0.7262 GB, free: 1.656 MB / 0.5294 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.0006611/0.1873, allocations: 367.1 kB / 0.7266 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1874, allocations: 8.031 kB / 0.7266 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.027e-05/0.1874, allocations: 8.188 kB / 0.7266 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.1874, allocations: 30.75 kB / 0.7266 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.1875, allocations: 4.891 kB / 0.7266 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.1876, allocations: 172.3 kB / 0.7268 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1876, allocations: 384 / 0.7268 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.1876, allocations: 384 / 0.7268 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1878, allocations: 61.92 kB / 0.7268 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1878, allocations: 0 / 0.7268 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1878, allocations: 0 / 0.7268 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1879, allocations: 4 kB / 0.7268 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.188, allocations: 27.97 kB / 0.7269 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.1884, allocations: 260.9 kB / 0.7271 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1885, allocations: 38.56 kB / 0.7271 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.016e-05/0.1886, allocations: 24.89 kB / 0.7272 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008217/0.1894, allocations: 461.4 kB / 0.7276 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/0.1895, allocations: 30.56 kB / 0.7276 GB, free: 15.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 3.887e-06/0.1895, allocations: 7.922 kB / 0.7276 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004542/0.19, allocations: 85.59 kB / 0.7277 GB, free: 15.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.19, allocations: 55.41 kB / 0.7278 GB, free: 15.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1901, allocations: 110 kB / 0.7279 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1901, allocations: 29.7 kB / 0.7279 GB, free: 15.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1902, allocations: 84.14 kB / 0.728 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.1902, allocations: 7.891 kB / 0.728 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.1903, allocations: 21.7 kB / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1904, allocations: 314.8 kB / 0.7283 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.1905, allocations: 11.98 kB / 0.7283 GB, free: 15.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-05/0.1906, allocations: 27.92 kB / 0.7284 GB, free: 15.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1908, allocations: 44.75 kB / 0.7284 GB, free: 15.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1908, allocations: 0 / 0.7284 GB, free: 15.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002329/0.191, allocations: 65.66 kB / 0.7285 GB, free: 15.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.191, allocations: 4 kB / 0.7285 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.191, allocations: 4.094 kB / 0.7285 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.191, allocations: 0 / 0.7285 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.1911, allocations: 8 kB / 0.7285 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1912, allocations: 0 / 0.7285 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.1912, allocations: 7.984 kB / 0.7285 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1912, allocations: 4 kB / 0.7285 GB, free: 14.98 MB / 0.545 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.677e-05/0.1913, allocations: 121.7 kB / 0.7286 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.1913, allocations: 3.953 kB / 0.7286 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.1916, allocations: 81.17 kB / 0.7287 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1916, allocations: 0 / 0.7287 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1916, allocations: 0 / 0.7287 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1916, allocations: 0 / 0.7287 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1918, allocations: 157.6 kB / 0.7288 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1918, allocations: 4 kB / 0.7288 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.1919, allocations: 7.984 kB / 0.7289 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1919, allocations: 0 / 0.7289 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1919, allocations: 4.031 kB / 0.7289 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1919, allocations: 0 / 0.7289 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1919, allocations: 4 kB / 0.7289 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.1922, allocations: 167.4 kB / 0.729 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.1922, allocations: 77.11 kB / 0.7291 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1922, allocations: 4.234 kB / 0.7291 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.1923, allocations: 12.03 kB / 0.7291 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.1923, allocations: 4 kB / 0.7291 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1924, allocations: 3.984 kB / 0.7291 GB, free: 14.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.876e-05/0.1924, allocations: 83.28 kB / 0.7292 GB, free: 14.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1924, allocations: 0 / 0.7292 GB, free: 14.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002427/0.1926, allocations: 19.89 kB / 0.7292 GB, free: 14.14 MB / 0.545 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.0006899/0.1933, allocations: 0.7154 MB / 0.7299 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1936, allocations: 39.97 kB / 0.73 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1936, allocations: 0 / 0.73 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.102e-05/0.1937, allocations: 20.08 kB / 0.73 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.194, allocations: 7.984 kB / 0.73 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.1944, allocations: 143 kB / 0.7301 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1947, allocations: 0.6806 MB / 0.7308 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.1947, allocations: 0 / 0.7308 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.1948, allocations: 7.438 kB / 0.7308 GB, free: 12.44 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1948, allocations: 4 kB / 0.7308 GB, free: 12.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.2133, allocations: 1.643 MB / 0.7324 GB, free: 10.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/8.541, allocations: 8.547 kB / 0.7324 GB, free: 10.9 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.528046952967998] Failed to read output from testmodel.py, exit status != 0: 8.667078911035787 8.688870776 8.498131382 Calling exit ...