Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.0008023/0.0008023, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.000808/0.000808, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9595/0.9595, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.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 1.817/1.817, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] 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.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.748e-05, allocations: 6.219 kB / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6109/0.6109, allocations: 171.6 MB / 1.168 GB, free: 8.648 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.008578/0.6195, allocations: 6.524 MB / 1.175 GB, free: 4.184 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007204/0.6202, allocations: 60.75 kB / 1.175 GB, free: 4.148 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.6216, allocations: 0.6983 MB / 1.175 GB, free: 3.715 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.00435/0.6259, allocations: 2.449 MB / 1.178 GB, free: 2.395 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.6285, allocations: 1.49 MB / 1.179 GB, free: 1.637 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003218/0.6317, allocations: 2.908 MB / 1.182 GB, free: 260 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008273/0.6325, allocations: 0.6587 MB / 1.183 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003063/0.6356, allocations: 1.93 MB / 1.185 GB, free: 15.06 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.6368, allocations: 0.7162 MB / 1.185 GB, free: 14.83 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.637, allocations: 98.34 kB / 1.185 GB, free: 14.83 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004132/0.6411, allocations: 1.675 MB / 1.187 GB, free: 14.25 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004736/0.6416, allocations: 398.5 kB / 1.187 GB, free: 14.04 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.6421, allocations: 397 kB / 1.188 GB, free: 13.87 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.003709/0.6458, allocations: 2.433 MB / 1.19 GB, free: 13.03 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6458, allocations: 0 / 1.19 GB, free: 13.03 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6458, allocations: 0 / 1.19 GB, free: 13.03 MB / 1.042 GB Notification: Performance of Transformations before backend: time 3.64e-05/0.6458, allocations: 1.188 kB / 1.19 GB, free: 13.03 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003261/0.6491, allocations: 1.561 MB / 1.192 GB, free: 12.02 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.6491, allocations: 11.28 kB / 1.192 GB, free: 12.02 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.6493, allocations: 115.7 kB / 1.192 GB, free: 11.93 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.6511, allocations: 0.5385 MB / 1.192 GB, free: 11.83 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.6527, allocations: 0.9423 MB / 1.193 GB, free: 11.3 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.6528, allocations: 51.03 kB / 1.193 GB, free: 11.28 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.451e-05/0.6529, allocations: 78.36 kB / 1.193 GB, free: 11.25 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.6545, allocations: 1.229 MB / 1.195 GB, free: 10.67 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.6545, allocations: 5 kB / 1.195 GB, free: 10.66 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/0.6546, allocations: 26.81 kB / 1.195 GB, free: 10.64 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/0.6546, allocations: 39.62 kB / 1.195 GB, free: 10.63 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.6565, allocations: 1.19 MB / 1.196 GB, free: 10.23 MB / 1.042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.6599, allocations: 2.854 MB / 1.199 GB, free: 8.598 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.661, allocations: 0.6769 MB / 1.199 GB, free: 8.316 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.6615, allocations: 428.8 kB / 1.2 GB, free: 8.148 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.6617, allocations: 128.6 kB / 1.2 GB, free: 8.129 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007281/0.6625, allocations: 0.654 MB / 1.2 GB, free: 7.68 MB / 1.042 GB Notification: Performance of pre-optimization done (n=57): time 1.623e-06/0.6625, allocations: 0.9688 kB / 1.2 GB, free: 7.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=57): time 0.001812/0.6643, allocations: 1.292 MB / 1.202 GB, free: 6.988 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.6643, allocations: 136.9 kB / 1.202 GB, free: 6.832 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.6657, allocations: 1.164 MB / 1.203 GB, free: 6.195 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.6658, allocations: 43.02 kB / 1.203 GB, free: 6.152 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.666, allocations: 433.5 kB / 1.203 GB, free: 5.777 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.6661, allocations: 199.1 kB / 1.204 GB, free: 5.605 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.6663, allocations: 142.8 kB / 1.204 GB, free: 5.523 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.6664, allocations: 335.3 kB / 1.204 GB, free: 5.195 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006713/0.6671, allocations: 474.4 kB / 1.205 GB, free: 4.957 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008667/0.6679, allocations: 0.9762 MB / 1.205 GB, free: 4.109 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.6691, allocations: 0.9286 MB / 1.206 GB, free: 3.539 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6691, allocations: 0 / 1.206 GB, free: 3.539 MB / 1.042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001637/0.6707, allocations: 1.243 MB / 1.208 GB, free: 2.891 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.6708, allocations: 35.92 kB / 1.208 GB, free: 2.859 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6708, allocations: 9.672 kB / 1.208 GB, free: 2.855 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6708, allocations: 5.469 kB / 1.208 GB, free: 2.855 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.6712, allocations: 188.3 kB / 1.208 GB, free: 2.801 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.6712, allocations: 5.625 kB / 1.208 GB, free: 2.801 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.6719, allocations: 251.5 kB / 1.208 GB, free: 2.672 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.672, allocations: 37.81 kB / 1.208 GB, free: 2.66 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0005761/0.6726, allocations: 337.6 kB / 1.208 GB, free: 2.395 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.6727, allocations: 118.7 kB / 1.209 GB, free: 2.332 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.6739, allocations: 1.024 MB / 1.21 GB, free: 1.75 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.6739, allocations: 13.41 kB / 1.21 GB, free: 1.742 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6739, allocations: 2.875 kB / 1.21 GB, free: 1.742 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.6739, allocations: 3.984 kB / 1.21 GB, free: 1.738 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.6767, allocations: 2.999 MB / 1.212 GB, free: 15.67 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.6767, allocations: 9.094 kB / 1.212 GB, free: 15.66 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.677, allocations: 123.1 kB / 1.213 GB, free: 15.63 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.677, allocations: 9.906 kB / 1.213 GB, free: 15.63 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.677, allocations: 28.2 kB / 1.213 GB, free: 15.62 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.6771, allocations: 17.92 kB / 1.213 GB, free: 15.61 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.6771, allocations: 11.31 kB / 1.213 GB, free: 15.61 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.6783, allocations: 1.37 MB / 1.214 GB, free: 14.62 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.6786, allocations: 258.7 kB / 1.214 GB, free: 14.43 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.6787, allocations: 26.58 kB / 1.214 GB, free: 14.42 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005314/0.6792, allocations: 102.2 kB / 1.214 GB, free: 14.38 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.6793, allocations: 60.95 kB / 1.214 GB, free: 14.34 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/0.6794, allocations: 44.25 kB / 1.214 GB, free: 14.33 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0008127/0.6802, allocations: 0.8336 MB / 1.215 GB, free: 13.87 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.6802, allocations: 0 / 1.215 GB, free: 13.87 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0007189/0.6809, allocations: 299.8 kB / 1.216 GB, free: 13.82 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.001848/0.6827, allocations: 2.152 MB / 1.218 GB, free: 12.2 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.6841, allocations: 1.039 MB / 1.219 GB, free: 11.64 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6841, allocations: 0 / 1.219 GB, free: 11.64 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.000519/0.6846, allocations: 0.5072 MB / 1.219 GB, free: 11.34 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.6863, allocations: 0.5102 MB / 1.22 GB, free: 11.07 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.6965, allocations: 9.528 MB / 1.229 GB, free: 1.625 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.6968, allocations: 474.3 kB / 1.229 GB, free: 1.129 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0006019/0.6974, allocations: 277.2 kB / 1.23 GB, free: 0.8633 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.6977, allocations: 352.4 kB / 1.23 GB, free: 0.5195 MB / 1.057 GB Notification: Performance of SimCode: time 7.52e-07/0.6977, allocations: 0 / 1.23 GB, free: 0.5195 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09929/0.797, allocations: 33.64 MB / 1.263 GB, free: 15.46 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.946, allocations: 0 / 1.263 GB, free: 15.46 MB / 1.104 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.668131619691849]