Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.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.001402/0.001402, 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.001432/0.001432, 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.488/1.488, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.9954/0.9954, allocations: 150 MB / 460.2 MB, free: 5.305 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.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",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.00299/0.00299, allocations: 70.31 kB / 0.6368 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2149, allocations: 89.13 MB / 0.7239 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001893/0.2168, allocations: 0.5853 MB / 0.7245 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000345/0.2171, allocations: 87.73 kB / 0.7245 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.98e-05/0.2171, allocations: 0 / 0.7245 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.2172, allocations: 4 kB / 0.7245 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.2172, allocations: 0 / 0.7245 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.2175, allocations: 19.97 kB / 0.7246 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.845e-05/0.2176, allocations: 11.92 kB / 0.7246 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.2176, allocations: 4 kB / 0.7246 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.072e-05/0.2176, allocations: 4 kB / 0.7246 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.327e-05/0.2177, allocations: 4 kB / 0.7246 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2177, allocations: 3.938 kB / 0.7246 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/0.2178, allocations: 15.98 kB / 0.7246 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.2178, allocations: 3.938 kB / 0.7246 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.2178, allocations: 7.984 kB / 0.7246 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.2179, allocations: 16.25 kB / 0.7246 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.218, allocations: 0 / 0.7246 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.218, allocations: 0 / 0.7246 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.218, allocations: 0 / 0.7246 GB, free: 3.258 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.0004478/0.2184, allocations: 315.5 kB / 0.7249 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.2185, allocations: 12.03 kB / 0.7249 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.109e-05/0.2185, allocations: 8.109 kB / 0.725 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.2185, allocations: 30.75 kB / 0.725 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.2187, allocations: 16.92 kB / 0.725 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.2188, allocations: 160.8 kB / 0.7252 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.2188, allocations: 4.375 kB / 0.7252 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.2189, allocations: 384 / 0.7252 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.219, allocations: 41.94 kB / 0.7252 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.219, allocations: 0 / 0.7252 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.219, allocations: 0 / 0.7252 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.219, allocations: 4 kB / 0.7252 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.2191, allocations: 19.97 kB / 0.7252 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.2193, allocations: 161.6 kB / 0.7254 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.2195, allocations: 38.67 kB / 0.7254 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.2196, allocations: 12.84 kB / 0.7254 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.2196, allocations: 0 / 0.7254 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2196, allocations: 46.44 kB / 0.7255 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.2196, allocations: 0 / 0.7255 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002336/0.2198, allocations: 53.67 kB / 0.7255 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.2199, allocations: 51.41 kB / 0.7256 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.38e-05/0.2199, allocations: 89.86 kB / 0.7257 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.2199, allocations: 25.7 kB / 0.7257 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.22, allocations: 80.14 kB / 0.7258 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.22, allocations: 11.95 kB / 0.7258 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.2201, allocations: 21.7 kB / 0.7258 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2202, allocations: 314.8 kB / 0.7261 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.2203, allocations: 8 kB / 0.7261 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.2203, allocations: 7.984 kB / 0.7261 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.698e-05/0.2204, allocations: 24.78 kB / 0.7261 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2204, allocations: 4 kB / 0.7261 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001207/0.2205, allocations: 49.69 kB / 0.7262 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2205, allocations: 7.938 kB / 0.7262 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2205, allocations: 3.984 kB / 0.7262 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.2206, allocations: 4 kB / 0.7262 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.2209, allocations: 39.92 kB / 0.7262 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.2225, allocations: 1.404 MB / 0.7276 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.2225, allocations: 4.031 kB / 0.7276 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.2225, allocations: 7.922 kB / 0.7276 GB, free: 15.84 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.568e-05/0.2226, allocations: 113.8 kB / 0.7277 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-06/0.2226, allocations: 4.422 kB / 0.7277 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.469e-05/0.2226, allocations: 7.5 kB / 0.7277 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.2226, allocations: 3.984 kB / 0.7277 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.2226, allocations: 0 / 0.7277 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2226, allocations: 0 / 0.7277 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2228, allocations: 165.5 kB / 0.7279 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2228, allocations: 0 / 0.7279 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.2232, allocations: 55.86 kB / 0.7279 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2232, allocations: 0 / 0.7279 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.2232, allocations: 0 / 0.7279 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.2246, allocations: 1.405 MB / 0.7293 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2246, allocations: 0 / 0.7293 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.2247, allocations: 73.08 kB / 0.7294 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.2248, allocations: 85.05 kB / 0.7295 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-06/0.2248, allocations: 4 kB / 0.7295 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.603e-05/0.2248, allocations: 0 / 0.7295 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.2248, allocations: 3.984 kB / 0.7295 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.2248, allocations: 8.062 kB / 0.7295 GB, free: 13.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.2249, allocations: 77.17 kB / 0.7296 GB, free: 13.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2249, allocations: 0 / 0.7296 GB, free: 13.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002094/0.2251, allocations: 4 kB / 0.7296 GB, free: 13.6 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005029/0.2256, allocations: 0.6153 MB / 0.7302 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004744/0.2261, allocations: 59.91 kB / 0.7302 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2261, allocations: 0 / 0.7302 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.2263, allocations: 35.97 kB / 0.7303 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.2265, allocations: 11.98 kB / 0.7303 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.2269, allocations: 126.5 kB / 0.7304 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.2273, allocations: 0.6729 MB / 0.731 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.586e-05/0.2274, allocations: 8.266 kB / 0.7311 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.2274, allocations: 19.36 kB / 0.7311 GB, free: 11.96 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2274, allocations: 0 / 0.7311 GB, free: 11.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.2467, allocations: 1.317 MB / 0.7324 GB, free: 10.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.11, allocations: 19.67 kB / 0.7324 GB, free: 10.81 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.10863414395135] Failed to read output from testmodel.py, exit status != 0: 12.256866784009617 12.27092987 12.050036788 Calling exit ...