Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.001379/0.001379, allocations: 118 kB / 17.84 MB, free: 5.234 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.001572/0.001572, allocations: 203.8 kB / 20.79 MB, free: 2.297 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.563/1.563, allocations: 230.6 MB / 254.2 MB, free: 15.09 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 1.057/1.057, allocations: 150 MB / 460.2 MB, free: 5.227 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.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.002603/0.002603, allocations: 75.86 kB / 0.6369 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2099, allocations: 89.13 MB / 0.7239 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001774/0.2117, allocations: 0.5763 MB / 0.7245 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007178/0.2124, allocations: 331.2 kB / 0.7248 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.2124, allocations: 0 / 0.7248 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.2124, allocations: 0 / 0.7248 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.2124, allocations: 4 kB / 0.7248 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.2129, allocations: 106.7 kB / 0.7249 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.578e-05/0.2129, allocations: 0 / 0.7249 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.213, allocations: 3.984 kB / 0.7249 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.297e-05/0.213, allocations: 0 / 0.7249 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.241e-05/0.213, allocations: 7.984 kB / 0.7249 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.213, allocations: 0 / 0.7249 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000442/0.2135, allocations: 271.7 kB / 0.7251 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.2135, allocations: 8 kB / 0.7252 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.2135, allocations: 3.938 kB / 0.7252 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.2137, allocations: 91.95 kB / 0.7252 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2137, allocations: 0 / 0.7252 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2137, allocations: 0 / 0.7252 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2137, allocations: 0 / 0.7252 GB, free: 2.602 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003948/0.2141, allocations: 335.3 kB / 0.7256 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2141, allocations: 12.03 kB / 0.7256 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.471e-05/0.2142, allocations: 192 / 0.7256 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.2142, allocations: 42.67 kB / 0.7256 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.2142, allocations: 0.9375 kB / 0.7256 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2144, allocations: 160.4 kB / 0.7258 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.2144, allocations: 4.375 kB / 0.7258 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-06/0.2144, allocations: 384 / 0.7258 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.2145, allocations: 34.02 kB / 0.7258 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2145, allocations: 0 / 0.7258 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2145, allocations: 0 / 0.7258 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2145, allocations: 0 / 0.7258 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.2145, allocations: 0 / 0.7258 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.2147, allocations: 157.7 kB / 0.726 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.835e-05/0.2148, allocations: 18.52 kB / 0.726 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.2148, allocations: 4.953 kB / 0.726 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006031/0.2154, allocations: 425.5 kB / 0.7264 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.2154, allocations: 42.5 kB / 0.7264 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2154, allocations: 0 / 0.7264 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001599/0.2156, allocations: 41.62 kB / 0.7265 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.2156, allocations: 55.39 kB / 0.7265 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.459e-05/0.2157, allocations: 93.8 kB / 0.7266 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.2157, allocations: 25.7 kB / 0.7266 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.2158, allocations: 84.12 kB / 0.7267 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.2158, allocations: 12.08 kB / 0.7267 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.2158, allocations: 9.719 kB / 0.7267 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.216, allocations: 310.8 kB / 0.727 GB, free: 460 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.216, allocations: 0 / 0.727 GB, free: 460 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-06/0.216, allocations: 4 kB / 0.727 GB, free: 456 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/0.216, allocations: 8.859 kB / 0.727 GB, free: 444 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.216, allocations: 0 / 0.727 GB, free: 444 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.724e-05/0.2161, allocations: 41.72 kB / 0.7271 GB, free: 396 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2161, allocations: 11.94 kB / 0.7271 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2161, allocations: 0 / 0.7271 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2161, allocations: 0 / 0.7271 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.212e-05/0.2162, allocations: 4 kB / 0.7271 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2162, allocations: 0 / 0.7271 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-06/0.2162, allocations: 3.938 kB / 0.7271 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.2162, allocations: 0 / 0.7271 GB, free: 376 kB / 0.5294 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 (1): * Single equations (assignments): 1 * 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.702e-05/0.2163, allocations: 109.8 kB / 0.7272 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.2163, allocations: 3.938 kB / 0.7272 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.442e-05/0.2164, allocations: 44.81 kB / 0.7273 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2164, allocations: 0 / 0.7273 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2164, allocations: 0 / 0.7273 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.2164, allocations: 0 / 0.7273 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.2165, allocations: 145.7 kB / 0.7274 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2165, allocations: 3.984 kB / 0.7274 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/0.2165, allocations: 3.938 kB / 0.7274 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-05/0.2165, allocations: 208 / 0.7274 GB, free: 16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.2165, allocations: 7.938 kB / 0.7274 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2165, allocations: 4.031 kB / 0.7274 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.2165, allocations: 4 kB / 0.7274 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.238e-05/0.2166, allocations: 55.03 kB / 0.7275 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.2167, allocations: 81.09 kB / 0.7275 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.2167, allocations: 7.938 kB / 0.7276 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-06/0.2167, allocations: 0 / 0.7276 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-06/0.2167, allocations: 0 / 0.7276 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.2167, allocations: 7.969 kB / 0.7276 GB, free: 15.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.2167, allocations: 75.28 kB / 0.7276 GB, free: 15.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2167, allocations: 0 / 0.7276 GB, free: 15.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002014/0.217, allocations: 15.94 kB / 0.7277 GB, free: 15.71 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 (1): * Single equations (assignments): 1 * 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.0004943/0.2174, allocations: 0.6046 MB / 0.7282 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.22e-05/0.2175, allocations: 12.03 kB / 0.7283 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2175, allocations: 0 / 0.7283 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.987e-06/0.2175, allocations: 3.984 kB / 0.7283 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.2177, allocations: 0 / 0.7283 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.218, allocations: 114.5 kB / 0.7284 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.2184, allocations: 0.669 MB / 0.729 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.113e-05/0.2184, allocations: 8.109 kB / 0.729 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.2184, allocations: 11.44 kB / 0.729 GB, free: 14.19 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.2184, allocations: 0 / 0.729 GB, free: 14.19 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.2379, allocations: 1.215 MB / 0.7302 GB, free: 13.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/8.548, allocations: 18.84 kB / 0.7302 GB, free: 13.07 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.608704810030758] Failed to read output from testmodel.py, exit status != 0: 8.675508255022578 8.69046205 8.47383157 Calling exit ...