Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001339/0.001339, allocations: 109.1 kB / 16.46 MB, free: 6.453 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.001397/0.001397, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.472/1.472, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002791/0.002791, allocations: 291.4 kB / 309.1 MB, free: 3.969 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.239/1.239, allocations: 180.9 MB / 0.5333 GB, free: 13.79 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.002803/0.002803, allocations: 102.4 kB / 0.7343 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1994, allocations: 95.33 MB / 0.8274 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002919/0.2024, allocations: 1.461 MB / 0.8288 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003077/0.2027, allocations: 105 kB / 0.8289 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.2027, allocations: 4 kB / 0.8289 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.2027, allocations: 0 / 0.8289 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.224e-05/0.2028, allocations: 7.922 kB / 0.8289 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.203, allocations: 15.92 kB / 0.8289 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.203, allocations: 19.98 kB / 0.8289 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.204e-05/0.2031, allocations: 4 kB / 0.8289 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.335e-05/0.2032, allocations: 15.92 kB / 0.8289 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.2032, allocations: 11.94 kB / 0.829 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2032, allocations: 7.938 kB / 0.829 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.925e-05/0.2033, allocations: 19.92 kB / 0.829 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.2033, allocations: 7.984 kB / 0.829 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.2034, allocations: 11.92 kB / 0.829 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.2035, allocations: 40.11 kB / 0.829 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2035, allocations: 0 / 0.829 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2035, allocations: 0 / 0.829 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2035, allocations: 0 / 0.829 GB, free: 8.109 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.000574/0.2041, allocations: 343.4 kB / 0.8294 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2041, allocations: 12.03 kB / 0.8294 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.2041, allocations: 30.75 kB / 0.8294 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.2043, allocations: 12.92 kB / 0.8294 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.2045, allocations: 168.3 kB / 0.8296 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.2045, allocations: 384 / 0.8296 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.2045, allocations: 384 / 0.8296 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.2047, allocations: 62.22 kB / 0.8296 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2047, allocations: 7.875 kB / 0.8297 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.2047, allocations: 0 / 0.8297 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2047, allocations: 4 kB / 0.8297 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.2049, allocations: 43.95 kB / 0.8297 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.2054, allocations: 261 kB / 0.8299 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.2056, allocations: 54.48 kB / 0.83 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.2057, allocations: 32.89 kB / 0.83 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2057, allocations: 0 / 0.83 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.2057, allocations: 34.5 kB / 0.8301 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.2057, allocations: 0 / 0.8301 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004507/0.2062, allocations: 105.6 kB / 0.8302 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.2062, allocations: 51.41 kB / 0.8302 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.853e-05/0.2063, allocations: 105.8 kB / 0.8303 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2064, allocations: 25.7 kB / 0.8303 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.2064, allocations: 84.14 kB / 0.8304 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.2064, allocations: 11.83 kB / 0.8304 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.2065, allocations: 17.7 kB / 0.8304 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2066, allocations: 319 kB / 0.8308 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.2067, allocations: 27.97 kB / 0.8308 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.2068, allocations: 23.92 kB / 0.8308 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.207, allocations: 45.12 kB / 0.8308 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.207, allocations: 11.94 kB / 0.8309 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002586/0.2073, allocations: 85.59 kB / 0.8309 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2073, allocations: 8 kB / 0.8309 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2073, allocations: 0 / 0.8309 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2073, allocations: 0 / 0.8309 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.2074, allocations: 15.97 kB / 0.831 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2075, allocations: 7.922 kB / 0.831 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.2075, allocations: 12.02 kB / 0.831 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2075, allocations: 0 / 0.831 GB, free: 5.891 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 (2): * Single equations (assignments): 2 * 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 0.000102/0.2076, allocations: 118.4 kB / 0.8311 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.2076, allocations: 3.938 kB / 0.8311 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.2077, allocations: 3.531 kB / 0.8311 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2077, allocations: 0 / 0.8311 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2077, allocations: 0 / 0.8311 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2077, allocations: 4 kB / 0.8311 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.2079, allocations: 177.6 kB / 0.8313 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2079, allocations: 0 / 0.8313 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.819e-05/0.208, allocations: 8 kB / 0.8313 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.208, allocations: 3.984 kB / 0.8313 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.208, allocations: 0 / 0.8313 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.208, allocations: 4 kB / 0.8313 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.208, allocations: 0 / 0.8313 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.2083, allocations: 179.4 kB / 0.8315 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.2083, allocations: 81.09 kB / 0.8315 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.2084, allocations: 0 / 0.8315 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.2084, allocations: 8 kB / 0.8315 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.2085, allocations: 7.984 kB / 0.8316 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.2085, allocations: 0 / 0.8316 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000135/0.2086, allocations: 83.22 kB / 0.8316 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2086, allocations: 4.031 kB / 0.8316 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002131/0.2088, allocations: 11.94 kB / 0.8316 GB, free: 5.113 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 (2): * Single equations (assignments): 2 * 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.0007338/0.2096, allocations: 0.7007 MB / 0.8323 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.2098, allocations: 59.97 kB / 0.8324 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2099, allocations: 0 / 0.8324 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.21, allocations: 23.92 kB / 0.8324 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2103, allocations: 7.984 kB / 0.8324 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.2108, allocations: 151.3 kB / 0.8326 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.2112, allocations: 0.6768 MB / 0.8332 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.668e-05/0.2113, allocations: 4 kB / 0.8332 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.2113, allocations: 7.438 kB / 0.8332 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2113, allocations: 0 / 0.8332 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.2367, allocations: 1.493 MB / 0.8347 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.064, allocations: 3.938 kB / 0.8347 GB, free: 2.008 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.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_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.355608669109643] Failed to read output from testmodel.py, exit status != 0: 8.133846570271999 8.15958579 7.951613768 Calling exit ...