Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001282/0.001282, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001592/0.001592, allocations: 223.9 kB / 23.03 MB, free: 4.945 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002516/0.002516, allocations: 293.9 kB / 313.5 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.286/1.286, allocations: 180.6 MB / 0.5377 GB, free: 14.61 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002876/0.002876, allocations: 100.1 kB / 0.7403 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1988, allocations: 95.38 MB / 0.8334 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001927/0.2008, allocations: 0.5959 MB / 0.834 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003371/0.2011, allocations: 88.16 kB / 0.8341 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.2011, allocations: 4 kB / 0.8341 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.2011, allocations: 0 / 0.8341 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.332e-05/0.2012, allocations: 0 / 0.8341 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.2014, allocations: 15.98 kB / 0.8341 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.2015, allocations: 7.922 kB / 0.8341 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.2015, allocations: 4 kB / 0.8341 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.364e-05/0.2015, allocations: 7.984 kB / 0.8341 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.2016, allocations: 4 kB / 0.8341 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.2016, allocations: 3.938 kB / 0.8342 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.2017, allocations: 15.98 kB / 0.8342 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.2017, allocations: 4 kB / 0.8342 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.2017, allocations: 0 / 0.8342 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.607e-05/0.2018, allocations: 20.23 kB / 0.8342 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2018, allocations: 4 kB / 0.8342 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2018, allocations: 0 / 0.8342 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2018, allocations: 0 / 0.8342 GB, free: 7.535 MB / 0.5762 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.0003464/0.2022, allocations: 242.4 kB / 0.8344 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2022, allocations: 9.938 kB / 0.8344 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.761e-05/0.2022, allocations: 192 / 0.8344 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.2023, allocations: 42.73 kB / 0.8345 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.2024, allocations: 12.92 kB / 0.8345 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.2025, allocations: 106.5 kB / 0.8346 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.2025, allocations: 4.375 kB / 0.8346 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.2026, allocations: 8.359 kB / 0.8346 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.2027, allocations: 45.94 kB / 0.8346 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2027, allocations: 0 / 0.8346 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2027, allocations: 0 / 0.8346 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2027, allocations: 0 / 0.8346 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.147e-05/0.2028, allocations: 15.92 kB / 0.8347 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.2029, allocations: 132.7 kB / 0.8348 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.2031, allocations: 34.62 kB / 0.8348 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.2032, allocations: 20.84 kB / 0.8348 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.2032, allocations: 3.938 kB / 0.8348 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.2032, allocations: 34.5 kB / 0.8349 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2032, allocations: 0 / 0.8349 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002128/0.2034, allocations: 53.67 kB / 0.8349 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.2035, allocations: 51.41 kB / 0.835 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.97e-05/0.2035, allocations: 93.86 kB / 0.8351 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2035, allocations: 29.7 kB / 0.8351 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.2036, allocations: 84.14 kB / 0.8352 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.2036, allocations: 3.953 kB / 0.8352 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.2036, allocations: 13.72 kB / 0.8352 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2038, allocations: 318.8 kB / 0.8355 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.2038, allocations: 4 kB / 0.8355 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.2038, allocations: 7.938 kB / 0.8355 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.446e-05/0.2039, allocations: 20.84 kB / 0.8355 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2039, allocations: 4 kB / 0.8355 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001154/0.204, allocations: 53.62 kB / 0.8356 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.204, allocations: 11.94 kB / 0.8356 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2041, allocations: 0 / 0.8356 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2041, allocations: 0 / 0.8356 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.2044, allocations: 39.94 kB / 0.8356 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.2058, allocations: 1.301 MB / 0.8369 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.2058, allocations: 8.016 kB / 0.8369 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.2058, allocations: 7.984 kB / 0.8369 GB, free: 4.434 MB / 0.5762 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 0.0001138/0.2059, allocations: 114.5 kB / 0.837 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.206, allocations: 0 / 0.837 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.31e-05/0.206, allocations: 7.469 kB / 0.837 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.206, allocations: 0 / 0.837 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.11e-07/0.206, allocations: 0 / 0.837 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.206, allocations: 3.984 kB / 0.837 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.801e-05/0.2061, allocations: 124.7 kB / 0.8372 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2061, allocations: 4 kB / 0.8372 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.2065, allocations: 55.86 kB / 0.8372 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2065, allocations: 0 / 0.8372 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2065, allocations: 4 kB / 0.8372 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.2077, allocations: 1.301 MB / 0.8385 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2077, allocations: 3.938 kB / 0.8385 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.2078, allocations: 81.3 kB / 0.8386 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.2078, allocations: 3.938 kB / 0.8386 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-06/0.2078, allocations: 3.938 kB / 0.8386 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.675e-05/0.2078, allocations: 4 kB / 0.8386 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.2079, allocations: 3.984 kB / 0.8386 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2079, allocations: 0 / 0.8386 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.2079, allocations: 75.28 kB / 0.8387 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2079, allocations: 4 kB / 0.8387 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001898/0.2081, allocations: 4 kB / 0.8387 GB, free: 2.461 MB / 0.5762 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.0004393/0.2085, allocations: 0.623 MB / 0.8393 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.209, allocations: 51.92 kB / 0.8393 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.209, allocations: 0 / 0.8393 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.2092, allocations: 43.95 kB / 0.8394 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.2094, allocations: 3.938 kB / 0.8394 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.2098, allocations: 122 kB / 0.8395 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.512e-05/0.2099, allocations: 59.3 kB / 0.8395 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.2099, allocations: 0 / 0.8395 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.2099, allocations: 19.42 kB / 0.8396 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2099, allocations: 0 / 0.8396 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.2306, allocations: 1.439 MB / 0.841 GB, free: 188 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/12.84, allocations: 7.5 kB / 0.841 GB, free: 184 kB / 0.5762 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.314968095044605] Failed to read output from testmodel.py, exit status != 0: 13.010871330043301 13.027259326 12.822379108 Calling exit ...