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.001322/0.001322, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001675/0.001675, allocations: 220.3 kB / 23.05 MB, free: 5.074 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002772/0.002772, allocations: 288.9 kB / 313.5 MB, free: 2.812 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.225/1.225, allocations: 180.6 MB / 0.5377 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="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.002779/0.002779, allocations: 107 kB / 0.7404 GB, free: 28.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1868, allocations: 95.38 MB / 0.8335 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001805/0.1886, allocations: 0.6116 MB / 0.8341 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003073/0.1889, allocations: 104.1 kB / 0.8342 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.1889, allocations: 0 / 0.8342 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.189, allocations: 0 / 0.8342 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.203e-05/0.189, allocations: 4 kB / 0.8342 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.1892, allocations: 15.91 kB / 0.8342 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.1893, allocations: 8 kB / 0.8343 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.1893, allocations: 0 / 0.8343 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.961e-05/0.1893, allocations: 4 kB / 0.8343 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.122e-05/0.1894, allocations: 11.98 kB / 0.8343 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.1894, allocations: 0 / 0.8343 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.862e-05/0.1895, allocations: 11.98 kB / 0.8343 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.1895, allocations: 4 kB / 0.8343 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.1895, allocations: 3.938 kB / 0.8343 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.106e-05/0.1896, allocations: 16.25 kB / 0.8343 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1896, allocations: 0 / 0.8343 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1896, allocations: 0 / 0.8343 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1896, allocations: 4 kB / 0.8343 GB, free: 7.84 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.000335/0.19, allocations: 242.4 kB / 0.8345 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.19, allocations: 17.34 kB / 0.8346 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.236e-05/0.19, allocations: 192 / 0.8346 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.1901, allocations: 30.75 kB / 0.8346 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.1902, allocations: 8.922 kB / 0.8346 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.809e-05/0.1903, allocations: 102.5 kB / 0.8347 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.1903, allocations: 8.312 kB / 0.8347 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.1903, allocations: 4.312 kB / 0.8347 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1905, allocations: 45.98 kB / 0.8347 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1905, allocations: 4 kB / 0.8347 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1905, allocations: 3.938 kB / 0.8348 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1905, allocations: 4 kB / 0.8348 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-05/0.1906, allocations: 11.98 kB / 0.8348 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.1907, allocations: 120.7 kB / 0.8349 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1909, allocations: 54.53 kB / 0.8349 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.1909, allocations: 8.922 kB / 0.8349 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.191, allocations: 0 / 0.8349 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.191, allocations: 38.48 kB / 0.835 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.191, allocations: 0 / 0.835 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002177/0.1912, allocations: 53.69 kB / 0.835 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1913, allocations: 51.41 kB / 0.8351 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.1913, allocations: 93.86 kB / 0.8352 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1913, allocations: 25.7 kB / 0.8352 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.1914, allocations: 84.12 kB / 0.8353 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.1914, allocations: 7.953 kB / 0.8353 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.1914, allocations: 21.66 kB / 0.8353 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1916, allocations: 310.8 kB / 0.8356 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/0.1916, allocations: 7.984 kB / 0.8356 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-05/0.1916, allocations: 8 kB / 0.8356 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.966e-05/0.1917, allocations: 24.84 kB / 0.8356 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1917, allocations: 4 kB / 0.8356 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001109/0.1918, allocations: 49.64 kB / 0.8357 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1919, allocations: 9.812 kB / 0.8357 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1919, allocations: 4 kB / 0.8357 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1919, allocations: 4.312 kB / 0.8357 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.1923, allocations: 47.88 kB / 0.8358 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.1937, allocations: 1.297 MB / 0.837 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.1937, allocations: 0 / 0.837 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1937, allocations: 4.094 kB / 0.837 GB, free: 4.746 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 9.693e-05/0.1938, allocations: 114.5 kB / 0.8371 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.1938, allocations: 3.938 kB / 0.8371 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.376e-05/0.1938, allocations: 7.531 kB / 0.8371 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1939, allocations: 0 / 0.8371 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-07/0.1939, allocations: 0 / 0.8371 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1939, allocations: 0 / 0.8371 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.194, allocations: 128.7 kB / 0.8373 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.194, allocations: 3.938 kB / 0.8373 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.1944, allocations: 51.92 kB / 0.8373 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1944, allocations: 0 / 0.8373 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1944, allocations: 3.938 kB / 0.8373 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.1957, allocations: 1.318 MB / 0.8386 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1957, allocations: 4.031 kB / 0.8386 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.1958, allocations: 65.12 kB / 0.8387 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.1958, allocations: 3.938 kB / 0.8387 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.1958, allocations: 12.09 kB / 0.8387 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.749e-05/0.1959, allocations: 4.031 kB / 0.8387 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.1959, allocations: 3.984 kB / 0.8387 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1959, allocations: 0 / 0.8387 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.1959, allocations: 75.28 kB / 0.8388 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1959, allocations: 0 / 0.8388 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001909/0.1961, allocations: 4 kB / 0.8388 GB, free: 2.77 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.0005049/0.1966, allocations: 0.6124 MB / 0.8394 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004718/0.1971, allocations: 67.91 kB / 0.8394 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1971, allocations: 0 / 0.8394 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.1974, allocations: 35.89 kB / 0.8395 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.1975, allocations: 4 kB / 0.8395 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.198, allocations: 120.4 kB / 0.8396 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1983, allocations: 0.6806 MB / 0.8403 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.1983, allocations: 7.984 kB / 0.8403 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.1984, allocations: 7.438 kB / 0.8403 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.1984, allocations: 0 / 0.8403 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.2201, allocations: 1.366 MB / 0.8416 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.52, allocations: 7.281 kB / 0.8416 GB, free: 15.93 MB / 0.5919 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: 16.824633101001382] Failed to read output from testmodel.py, exit status != 0: 12.692157195997424 12.721148487 12.526662718 Calling exit ...