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.001781/0.001781, allocations: 99.64 kB / 18.94 MB, free: 2.539 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.002241/0.002241, allocations: 214.7 kB / 22.25 MB, free: 4.867 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.797 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.002905/0.002905, allocations: 286.8 kB / 312.7 MB, free: 2.594 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.236/1.236, allocations: 180.6 MB / 0.5369 GB, free: 14.56 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.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.002931/0.002931, allocations: 103.5 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2204, allocations: 95.38 MB / 0.8326 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002842/0.2232, allocations: 1.471 MB / 0.8341 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002791/0.2235, allocations: 80.61 kB / 0.8342 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.2235, allocations: 0 / 0.8342 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.2236, allocations: 3.938 kB / 0.8342 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.2236, allocations: 3.938 kB / 0.8342 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.2238, allocations: 19.98 kB / 0.8342 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.146e-05/0.2239, allocations: 27.86 kB / 0.8342 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.224, allocations: 11.97 kB / 0.8342 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.224, allocations: 12 kB / 0.8342 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.2241, allocations: 11.92 kB / 0.8342 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.2241, allocations: 0 / 0.8342 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.2241, allocations: 15.98 kB / 0.8343 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.2241, allocations: 4 kB / 0.8343 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.2242, allocations: 7.938 kB / 0.8343 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2243, allocations: 40.09 kB / 0.8343 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2243, allocations: 4 kB / 0.8343 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2243, allocations: 0 / 0.8343 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2243, allocations: 0 / 0.8343 GB, free: 6.621 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.0004333/0.2247, allocations: 278.7 kB / 0.8346 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2248, allocations: 9.344 kB / 0.8346 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.2248, allocations: 34.75 kB / 0.8346 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.2249, allocations: 12.92 kB / 0.8346 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2251, allocations: 114.4 kB / 0.8347 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2251, allocations: 4.375 kB / 0.8347 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-06/0.2251, allocations: 384 / 0.8347 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.2253, allocations: 58.22 kB / 0.8348 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2253, allocations: 3.938 kB / 0.8348 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.2253, allocations: 4 kB / 0.8348 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2253, allocations: 7.938 kB / 0.8348 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.2255, allocations: 43.95 kB / 0.8349 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.2259, allocations: 228 kB / 0.8351 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.2261, allocations: 54.42 kB / 0.8351 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2262, allocations: 32.89 kB / 0.8352 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.2262, allocations: 0 / 0.8352 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2262, allocations: 34.56 kB / 0.8352 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2262, allocations: 0 / 0.8352 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004106/0.2266, allocations: 101.6 kB / 0.8353 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.2267, allocations: 55.34 kB / 0.8353 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.561e-05/0.2268, allocations: 110 kB / 0.8355 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.2268, allocations: 25.7 kB / 0.8355 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.2268, allocations: 84.14 kB / 0.8356 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.2268, allocations: 7.891 kB / 0.8356 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.2269, allocations: 13.72 kB / 0.8356 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.227, allocations: 318.8 kB / 0.8359 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.2271, allocations: 23.98 kB / 0.8359 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.2272, allocations: 23.97 kB / 0.8359 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.2274, allocations: 52.88 kB / 0.836 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2274, allocations: 3.938 kB / 0.836 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002417/0.2277, allocations: 81.55 kB / 0.8361 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2277, allocations: 14.33 kB / 0.8361 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2277, allocations: 0 / 0.8361 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.2277, allocations: 4.031 kB / 0.8361 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2278, allocations: 11.98 kB / 0.8361 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2278, allocations: 0 / 0.8361 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.2279, allocations: 4 kB / 0.8361 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.2279, allocations: 0 / 0.8361 GB, free: 4.609 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 8.925e-05/0.2279, allocations: 123.3 kB / 0.8362 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.228, allocations: 3.984 kB / 0.8362 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.228, allocations: 3.625 kB / 0.8362 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.228, allocations: 4 kB / 0.8362 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.228, allocations: 7.938 kB / 0.8362 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.228, allocations: 0 / 0.8362 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.2282, allocations: 136.9 kB / 0.8364 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2282, allocations: 4 kB / 0.8364 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.503e-05/0.2282, allocations: 11.92 kB / 0.8364 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2282, allocations: 4 kB / 0.8364 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.2283, allocations: 0 / 0.8364 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2283, allocations: 0 / 0.8364 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2283, allocations: 0 / 0.8364 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.2286, allocations: 183.4 kB / 0.8366 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.577e-06/0.2286, allocations: 3.953 kB / 0.8366 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.2286, allocations: 4 kB / 0.8366 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.02e-05/0.2287, allocations: 7.984 kB / 0.8366 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.2287, allocations: 0 / 0.8366 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.2287, allocations: 4 kB / 0.8366 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.019e-05/0.2288, allocations: 87.27 kB / 0.8367 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2288, allocations: 0 / 0.8367 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002151/0.229, allocations: 8.031 kB / 0.8367 GB, free: 3.953 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.0006052/0.2296, allocations: 0.7085 MB / 0.8374 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.2298, allocations: 47.95 kB / 0.8374 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2298, allocations: 0 / 0.8374 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.2299, allocations: 32.06 kB / 0.8374 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.2302, allocations: 0 / 0.8374 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.2307, allocations: 160.9 kB / 0.8376 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.264e-05/0.2308, allocations: 59.36 kB / 0.8376 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.491e-05/0.2308, allocations: 11.98 kB / 0.8377 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.2309, allocations: 7.438 kB / 0.8377 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2309, allocations: 0 / 0.8377 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.2602, allocations: 2.075 MB / 0.8397 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.46, allocations: 0 / 0.8397 GB, free: 0.9141 MB / 0.5762 GB " [Timeout remaining time 648] (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: 15.839057041797787] Failed to read output from testmodel.py, exit status != 0: 11.563919492997229 11.594071456 11.364334284 Calling exit ...