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.001444/0.001444, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001561/0.001561, allocations: 217.2 kB / 22.99 MB, free: 4.977 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9942/0.9942, allocations: 149.9 MB / 463 MB, free: 10.34 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.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",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.002411/0.002411, allocations: 67.05 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.212, allocations: 89.17 MB / 0.7282 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002123/0.2141, allocations: 0.5786 MB / 0.7288 GB, free: 404 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000809/0.2149, allocations: 294.9 kB / 0.729 GB, free: 108 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.2149, allocations: 4 kB / 0.729 GB, free: 104 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.2149, allocations: 3.938 kB / 0.7291 GB, free: 100 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.321e-06/0.215, allocations: 0 / 0.7291 GB, free: 100 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.2155, allocations: 107.7 kB / 0.7292 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.664e-05/0.2156, allocations: 0 / 0.7292 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.2156, allocations: 4 kB / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.385e-05/0.2156, allocations: 0 / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.271e-05/0.2156, allocations: 0 / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.2156, allocations: 4 kB / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.2161, allocations: 263.6 kB / 0.7294 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.2161, allocations: 0 / 0.7294 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.2161, allocations: 0 / 0.7294 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.2163, allocations: 92 kB / 0.7295 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2163, allocations: 7.938 kB / 0.7295 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2163, allocations: 0 / 0.7295 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.2164, allocations: 0 / 0.7295 GB, free: 15.63 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003639/0.2167, allocations: 264.8 kB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.2168, allocations: 11.97 kB / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.2168, allocations: 34.75 kB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.2168, allocations: 4.938 kB / 0.7298 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.605e-05/0.2169, allocations: 102.5 kB / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.2169, allocations: 8.312 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.217, allocations: 384 / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.2171, allocations: 30.27 kB / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2171, allocations: 3.938 kB / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.2171, allocations: 0 / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2171, allocations: 0 / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.2171, allocations: 0 / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.2173, allocations: 124.8 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.532e-05/0.2173, allocations: 26.61 kB / 0.7301 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.2173, allocations: 4.859 kB / 0.7301 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003846/0.2177, allocations: 39.95 kB / 0.7301 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2178, allocations: 38.55 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.2178, allocations: 0 / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001756/0.2179, allocations: 37.64 kB / 0.7302 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.218, allocations: 55.53 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.218, allocations: 89.86 kB / 0.7303 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2181, allocations: 29.7 kB / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.2181, allocations: 80.14 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.2181, allocations: 3.953 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.2182, allocations: 9.719 kB / 0.7305 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2183, allocations: 318.8 kB / 0.7308 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.2183, allocations: 3.984 kB / 0.7308 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.2183, allocations: 0 / 0.7308 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/0.2184, allocations: 16.8 kB / 0.7308 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2184, allocations: 4.062 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.668e-05/0.2184, allocations: 29.7 kB / 0.7308 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2185, allocations: 8 kB / 0.7308 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2185, allocations: 3.938 kB / 0.7308 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2185, allocations: 0 / 0.7308 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.471e-05/0.2185, allocations: 0 / 0.7308 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2185, allocations: 4 kB / 0.7308 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-06/0.2185, allocations: 3.938 kB / 0.7308 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.2186, allocations: 3.984 kB / 0.7308 GB, free: 14.07 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 (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 9.414e-05/0.2186, allocations: 109.9 kB / 0.7309 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.2187, allocations: 0 / 0.7309 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.375e-05/0.2188, allocations: 44.64 kB / 0.731 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2188, allocations: 0 / 0.731 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2188, allocations: 0 / 0.731 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2188, allocations: 3.938 kB / 0.731 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.981e-05/0.2189, allocations: 120.8 kB / 0.7311 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2189, allocations: 0 / 0.7311 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.2189, allocations: 0 / 0.7311 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2189, allocations: 0 / 0.7311 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2189, allocations: 7.969 kB / 0.7311 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2189, allocations: 0 / 0.7311 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.2189, allocations: 8 kB / 0.7311 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.219, allocations: 61.06 kB / 0.7312 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.2191, allocations: 4 kB / 0.7312 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.2191, allocations: 3.938 kB / 0.7312 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-06/0.2191, allocations: 0 / 0.7312 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.2191, allocations: 0 / 0.7312 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.2191, allocations: 0 / 0.7312 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.2191, allocations: 75.28 kB / 0.7313 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2191, allocations: 4.031 kB / 0.7313 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002654/0.2194, allocations: 15.94 kB / 0.7313 GB, free: 13.54 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 (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.0004694/0.2199, allocations: 0.6046 MB / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.296e-05/0.2199, allocations: 8 kB / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2199, allocations: 0 / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.095e-06/0.22, allocations: 7.938 kB / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.2201, allocations: 0 / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.2204, allocations: 110.5 kB / 0.732 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.084e-05/0.2205, allocations: 55.52 kB / 0.732 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.2205, allocations: 3.984 kB / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.2205, allocations: 15.44 kB / 0.7321 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.2205, allocations: 0 / 0.7321 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.2511, allocations: 1.681 MB / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.35, allocations: 5.891 kB / 0.7337 GB, free: 11.09 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.3005804088898] Failed to read output from testmodel.py, exit status != 0: 11.458088431041688 11.487595789 11.265810799 Calling exit ...