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.00167/0.00167, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002085/0.002085, allocations: 213 kB / 22.25 MB, free: 5.086 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 8.008 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.002662/0.002662, allocations: 282.9 kB / 312.7 MB, free: 2.824 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.239/1.239, allocations: 180.6 MB / 0.5369 GB, free: 13.04 MB / 382.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",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.002889/0.002889, allocations: 106.7 kB / 0.7396 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2076, allocations: 95.39 MB / 0.8328 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001689/0.2093, allocations: 0.596 MB / 0.8334 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003487/0.2096, allocations: 104.1 kB / 0.8335 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.2097, allocations: 3.938 kB / 0.8335 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.2097, allocations: 0 / 0.8335 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.413e-05/0.2097, allocations: 0 / 0.8335 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.21, allocations: 11.98 kB / 0.8335 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.062e-05/0.21, allocations: 11.92 kB / 0.8335 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.744e-05/0.2101, allocations: 7.938 kB / 0.8335 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.181e-05/0.2101, allocations: 3.984 kB / 0.8335 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.564e-05/0.2102, allocations: 8 kB / 0.8335 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.2102, allocations: 0 / 0.8335 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.405e-05/0.2103, allocations: 15.98 kB / 0.8335 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.2103, allocations: 0 / 0.8335 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.2104, allocations: 7.938 kB / 0.8335 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.2105, allocations: 16.25 kB / 0.8335 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.2105, allocations: 0 / 0.8335 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2105, allocations: 0 / 0.8335 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.2105, allocations: 0 / 0.8335 GB, free: 7.867 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.0004398/0.2109, allocations: 246.4 kB / 0.8338 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.211, allocations: 13.33 kB / 0.8338 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.211, allocations: 30.75 kB / 0.8338 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.2112, allocations: 8.922 kB / 0.8338 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2113, allocations: 106.5 kB / 0.8339 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.2113, allocations: 384 / 0.8339 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.2113, allocations: 4.375 kB / 0.8339 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.2115, allocations: 38.19 kB / 0.834 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.2115, allocations: 7.938 kB / 0.834 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.2115, allocations: 4 kB / 0.834 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2115, allocations: 0 / 0.834 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.57e-05/0.2116, allocations: 15.98 kB / 0.834 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.2118, allocations: 132.6 kB / 0.8341 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.2119, allocations: 38.61 kB / 0.8342 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.212, allocations: 16.91 kB / 0.8342 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.212, allocations: 0 / 0.8342 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.212, allocations: 34.5 kB / 0.8342 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.212, allocations: 0 / 0.8342 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002453/0.2123, allocations: 61.61 kB / 0.8343 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.2123, allocations: 51.41 kB / 0.8343 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.2124, allocations: 89.86 kB / 0.8344 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.2124, allocations: 33.7 kB / 0.8344 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.2125, allocations: 80.14 kB / 0.8345 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.2125, allocations: 3.953 kB / 0.8345 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.2125, allocations: 21.7 kB / 0.8345 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2127, allocations: 310.8 kB / 0.8348 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.2127, allocations: 4 kB / 0.8348 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.2128, allocations: 11.98 kB / 0.8348 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.074e-05/0.2129, allocations: 28.78 kB / 0.8349 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2129, allocations: 0 / 0.8349 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000106/0.213, allocations: 53.91 kB / 0.8349 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.213, allocations: 8 kB / 0.8349 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.213, allocations: 3.938 kB / 0.8349 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.213, allocations: 0 / 0.8349 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.2134, allocations: 43.94 kB / 0.835 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.2148, allocations: 1.305 MB / 0.8363 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.2149, allocations: 0 / 0.8363 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.2149, allocations: 0 / 0.8363 GB, free: 4.777 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.0001004/0.215, allocations: 122.5 kB / 0.8364 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.215, allocations: 4 kB / 0.8364 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.122e-05/0.215, allocations: 3.531 kB / 0.8364 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.215, allocations: 0 / 0.8364 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.215, allocations: 0 / 0.8364 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.215, allocations: 4 kB / 0.8364 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.2151, allocations: 124.7 kB / 0.8365 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2151, allocations: 0 / 0.8365 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.2155, allocations: 51.88 kB / 0.8365 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2155, allocations: 0 / 0.8365 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.2155, allocations: 7.938 kB / 0.8366 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.2167, allocations: 1.305 MB / 0.8378 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2167, allocations: 0 / 0.8378 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.2168, allocations: 73.08 kB / 0.8379 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.2169, allocations: 4.047 kB / 0.8379 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.2169, allocations: 15.92 kB / 0.8379 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.828e-05/0.2169, allocations: 4.062 kB / 0.8379 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.2169, allocations: 3.984 kB / 0.8379 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.2169, allocations: 4 kB / 0.8379 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.217, allocations: 75.28 kB / 0.838 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.217, allocations: 0 / 0.838 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001841/0.2171, allocations: 0 / 0.838 GB, free: 2.801 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.0004649/0.2176, allocations: 0.6163 MB / 0.8386 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004465/0.2181, allocations: 55.92 kB / 0.8387 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2181, allocations: 4 kB / 0.8387 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.2183, allocations: 31.95 kB / 0.8387 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.2184, allocations: 10.03 kB / 0.8387 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.2189, allocations: 118.6 kB / 0.8388 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.2192, allocations: 0.6806 MB / 0.8395 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.2193, allocations: 4 kB / 0.8395 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.2193, allocations: 11.44 kB / 0.8395 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2193, allocations: 0 / 0.8395 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.2472, allocations: 1.338 MB / 0.8408 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.09, allocations: 10.44 kB / 0.8408 GB, free: 15.98 MB / 0.5919 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 16.533757068998966] Failed to read output from testmodel.py, exit status != 0: 12.200319054001739 12.230047383 12.014413919 Calling exit ...