Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.001411/0.001411, allocations: 210.8 kB / 23.02 MB, free: 2.977 MB / 13.93 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.065/1.065, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.141/2.141, allocations: 0.5046 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 67.89 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8904/0.8914, allocations: 180 MB / 1.352 GB, free: 1.68 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002011/0.8935, allocations: 1.464 MB / 1.354 GB, free: 212 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0002607/0.8937, allocations: 87.83 kB / 1.354 GB, free: 124 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.8938, allocations: 0 / 1.354 GB, free: 124 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.8938, allocations: 3.938 kB / 1.354 GB, free: 120 kB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 4.499e-05/0.8938, allocations: 3.938 kB / 1.354 GB, free: 116 kB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.894, allocations: 11.98 kB / 1.354 GB, free: 104 kB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 6.721e-05/0.8941, allocations: 27.92 kB / 1.354 GB, free: 76 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.8942, allocations: 3.984 kB / 1.354 GB, free: 72 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 4.573e-05/0.8943, allocations: 19.92 kB / 1.354 GB, free: 52 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 3.679e-05/0.8943, allocations: 15.92 kB / 1.354 GB, free: 36 kB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.8943, allocations: 4 kB / 1.354 GB, free: 32 kB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 5.468e-05/0.8944, allocations: 11.98 kB / 1.354 GB, free: 20 kB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.8944, allocations: 4 kB / 1.354 GB, free: 16 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.8944, allocations: 11.94 kB / 1.354 GB, free: 4 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.8945, allocations: 30.14 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.8945, allocations: 0 / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8945, allocations: 0 / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.8945, allocations: 0 / 1.354 GB, free: 15.98 MB / 1.042 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.0003878/0.8949, allocations: 272 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.895, allocations: 12.92 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.895, allocations: 34.75 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.8951, allocations: 12.92 kB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.009e-05/0.8952, allocations: 118.4 kB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.8952, allocations: 8.359 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.8952, allocations: 384 / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.8954, allocations: 58.22 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.8954, allocations: 3.938 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.8954, allocations: 8 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.8954, allocations: 0 / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.8955, allocations: 43.95 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.8958, allocations: 228 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.8959, allocations: 58.42 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.357e-05/0.896, allocations: 36.89 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.896, allocations: 0 / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.896, allocations: 30.56 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.896, allocations: 0 / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0002577/0.8963, allocations: 105.6 kB / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.8963, allocations: 51.41 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.8965, allocations: 114 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.8965, allocations: 25.7 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.8966, allocations: 84.14 kB / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.8966, allocations: 7.953 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.8966, allocations: 13.72 kB / 1.355 GB, free: 14.5 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.959e-05/0.8967, allocations: 314.8 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.337e-05/0.8968, allocations: 19.98 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.886e-05/0.8968, allocations: 31.91 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.503e-05/0.8969, allocations: 52.88 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.8969, allocations: 3.938 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001241/0.897, allocations: 85.55 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.897, allocations: 7.984 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.897, allocations: 0 / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.8971, allocations: 4.031 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.149e-05/0.8971, allocations: 11.98 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.8971, allocations: 0 / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.8972, allocations: 8 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.8972, allocations: 0 / 1.356 GB, free: 13.95 MB / 1.042 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 5.74e-05/0.8972, allocations: 114.3 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.8972, allocations: 4 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.8973, allocations: 7.625 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.8973, allocations: 0 / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.8973, allocations: 4 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.8973, allocations: 0 / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.8974, allocations: 132.7 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.8974, allocations: 0 / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.8974, allocations: 11.98 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.8974, allocations: 0 / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.8974, allocations: 0 / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.8974, allocations: 0 / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.8974, allocations: 0 / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.8976, allocations: 195.3 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-06/0.8976, allocations: 0 / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.8976, allocations: 0 / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.014e-05/0.8976, allocations: 7.984 kB / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.8977, allocations: 7.938 kB / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.8977, allocations: 256 / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.723e-05/0.8977, allocations: 91.27 kB / 1.356 GB, free: 13.32 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8977, allocations: 0 / 1.356 GB, free: 13.32 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000145/0.8978, allocations: 4 kB / 1.356 GB, free: 13.32 MB / 1.042 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.000343/0.8982, allocations: 0.7085 MB / 1.357 GB, free: 12.58 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.8983, allocations: 51.95 kB / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8983, allocations: 0 / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.919e-05/0.8984, allocations: 32 kB / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.8986, allocations: 8 kB / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.899, allocations: 159.2 kB / 1.357 GB, free: 12.3 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.703e-05/0.899, allocations: 59.3 kB / 1.357 GB, free: 12.22 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.8991, allocations: 7.969 kB / 1.357 GB, free: 12.21 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.8991, allocations: 19.5 kB / 1.357 GB, free: 12.19 MB / 1.042 GB Notification: Performance of SimCode: time 4.11e-07/0.8991, allocations: 0 / 1.357 GB, free: 12.19 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07681/0.9759, allocations: 2.045 MB / 1.359 GB, free: 10.27 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/7.804, allocations: 6.719 kB / 1.359 GB, free: 10.27 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_PowerLinearized.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Examples_PowerLinearized.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.PowerLinearized_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.126717748120427]