Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.002074/0.002074, allocations: 100.3 kB / 19.72 MB, free: 428 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.001998/0.001998, allocations: 215.3 kB / 23.02 MB, free: 2.973 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.018/1.018, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.113/2.113, allocations: 0.5045 GB / 0.8104 GB, free: 2.762 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 75.83 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9101/0.9112, allocations: 180 MB / 1.352 GB, free: 1.668 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003064/0.9143, allocations: 2.06 MB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.9159, allocations: 1.137 MB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.916, allocations: 7.938 kB / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.9165, allocations: 101.6 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 9.551e-05/0.9166, allocations: 51.58 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007583/0.9173, allocations: 259.5 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.9176, allocations: 307.2 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.9178, allocations: 67.2 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.9179, allocations: 115.6 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.9181, allocations: 111.5 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.9181, allocations: 32 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.9184, allocations: 239.7 kB / 1.357 GB, free: 13.19 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.9185, allocations: 95.67 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.9186, allocations: 115.3 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.9192, allocations: 0.5644 MB / 1.358 GB, free: 12.42 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.9192, allocations: 3.984 kB / 1.358 GB, free: 12.41 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.514e-06/0.9192, allocations: 0 / 1.358 GB, free: 12.41 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.9192, allocations: 0 / 1.358 GB, free: 12.41 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001149/0.9204, allocations: 0.7408 MB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.9204, allocations: 12.92 kB / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.9205, allocations: 50.67 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.9205, allocations: 44.7 kB / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.9209, allocations: 258.8 kB / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.9209, allocations: 20.41 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.9209, allocations: 16 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.9214, allocations: 384 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.9214, allocations: 0 / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.9214, allocations: 8 kB / 1.359 GB, free: 10.77 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.9214, allocations: 0 / 1.359 GB, free: 10.77 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.9218, allocations: 365.4 kB / 1.359 GB, free: 10.39 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007702/0.9226, allocations: 0.5703 MB / 1.36 GB, free: 9.781 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.923, allocations: 311.7 kB / 1.36 GB, free: 9.449 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.9233, allocations: 277.8 kB / 1.361 GB, free: 9.156 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.9233, allocations: 0 / 1.361 GB, free: 9.156 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.9233, allocations: 38.56 kB / 1.361 GB, free: 9.109 MB / 1.042 GB Notification: Performance of pre-optimization done (n=14): time 1.834e-06/0.9233, allocations: 0 / 1.361 GB, free: 9.109 MB / 1.042 GB Notification: Performance of matching and sorting (n=14): time 0.0009744/0.9243, allocations: 0.8521 MB / 1.361 GB, free: 8.195 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.9244, allocations: 136.5 kB / 1.362 GB, free: 8.031 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.9247, allocations: 380.5 kB / 1.362 GB, free: 7.652 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.9247, allocations: 29.7 kB / 1.362 GB, free: 7.617 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.9248, allocations: 164.4 kB / 1.362 GB, free: 7.453 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.9249, allocations: 47.58 kB / 1.362 GB, free: 7.406 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.925, allocations: 45.7 kB / 1.362 GB, free: 7.355 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9251, allocations: 346.7 kB / 1.362 GB, free: 7.008 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.9254, allocations: 422.1 kB / 1.363 GB, free: 6.559 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.9258, allocations: 423.4 kB / 1.363 GB, free: 6.109 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005835/0.9264, allocations: 0.6943 MB / 1.364 GB, free: 5.359 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9264, allocations: 0 / 1.364 GB, free: 5.359 MB / 1.042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007791/0.9272, allocations: 0.9194 MB / 1.365 GB, free: 4.359 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.9273, allocations: 186.2 kB / 1.365 GB, free: 4.141 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.9273, allocations: 4 kB / 1.365 GB, free: 4.137 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.9273, allocations: 0 / 1.365 GB, free: 4.137 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.9274, allocations: 27.97 kB / 1.365 GB, free: 4.109 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.9274, allocations: 0 / 1.365 GB, free: 4.109 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.9275, allocations: 55.73 kB / 1.365 GB, free: 4.055 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.9275, allocations: 4 kB / 1.365 GB, free: 4.051 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: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.0002059/0.9277, allocations: 258.9 kB / 1.365 GB, free: 3.77 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.9278, allocations: 31.81 kB / 1.365 GB, free: 3.738 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.9278, allocations: 30.88 kB / 1.365 GB, free: 3.703 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.9278, allocations: 0 / 1.365 GB, free: 3.703 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.9278, allocations: 3.938 kB / 1.365 GB, free: 3.699 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.9278, allocations: 7.922 kB / 1.365 GB, free: 3.691 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.9281, allocations: 276.5 kB / 1.366 GB, free: 3.379 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9281, allocations: 0 / 1.366 GB, free: 3.379 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.9282, allocations: 27.97 kB / 1.366 GB, free: 3.352 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.9282, allocations: 3.984 kB / 1.366 GB, free: 3.348 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.9282, allocations: 12 kB / 1.366 GB, free: 3.336 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.9282, allocations: 0 / 1.366 GB, free: 3.336 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9282, allocations: 3.938 kB / 1.366 GB, free: 3.332 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006745/0.9289, allocations: 0.7083 MB / 1.366 GB, free: 2.57 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.929, allocations: 35.8 kB / 1.366 GB, free: 2.535 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.929, allocations: 4 kB / 1.366 GB, free: 2.531 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.9291, allocations: 31.97 kB / 1.367 GB, free: 2.5 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.9292, allocations: 35.89 kB / 1.367 GB, free: 2.465 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.9293, allocations: 7.938 kB / 1.367 GB, free: 2.457 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0002103/0.9295, allocations: 271 kB / 1.367 GB, free: 2.191 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9295, allocations: 0 / 1.367 GB, free: 2.191 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003783/0.9298, allocations: 103.9 kB / 1.367 GB, free: 2.09 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: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.001151/0.931, allocations: 1.305 MB / 1.368 GB, free: 0.7227 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0009427/0.9319, allocations: 1.089 MB / 1.369 GB, free: 15.5 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9319, allocations: 4 kB / 1.369 GB, free: 15.5 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.9323, allocations: 463 kB / 1.37 GB, free: 14.99 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.9326, allocations: 75.34 kB / 1.37 GB, free: 14.92 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/0.9373, allocations: 5.281 MB / 1.375 GB, free: 9.355 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.9375, allocations: 174.1 kB / 1.375 GB, free: 9.168 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 9.933e-05/0.9376, allocations: 25.94 kB / 1.375 GB, free: 9.145 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.9377, allocations: 87.41 kB / 1.375 GB, free: 9.059 MB / 1.057 GB Notification: Performance of SimCode: time 1.302e-06/0.9377, allocations: 0 / 1.375 GB, free: 9.059 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09776/1.035, allocations: 9.772 MB / 1.385 GB, free: 15.54 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/8.539, allocations: 12 kB / 1.385 GB, free: 15.52 MB / 1.073 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_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_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.806948467157781]