Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.001412/0.001412, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.001498/0.001498, 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.9701/0.9701, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.828/1.828, 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.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_13_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_13_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.218e-05, allocations: 9.656 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5985/0.5985, allocations: 152.9 MB / 1.15 GB, free: 4.199 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002813/0.6013, allocations: 1.732 MB / 1.152 GB, free: 3.023 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003668/0.6017, allocations: 20.31 kB / 1.152 GB, free: 3.012 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.6023, allocations: 222.4 kB / 1.152 GB, free: 2.875 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.6041, allocations: 0.7822 MB / 1.153 GB, free: 2.453 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.606, allocations: 0.895 MB / 1.154 GB, free: 2.02 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0009626/0.6069, allocations: 0.8297 MB / 1.154 GB, free: 1.625 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.6073, allocations: 223 kB / 1.155 GB, free: 1.52 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.6084, allocations: 0.6941 MB / 1.155 GB, free: 1.219 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.6086, allocations: 237.1 kB / 1.155 GB, free: 1.141 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.6087, allocations: 26.22 kB / 1.156 GB, free: 1.141 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.6101, allocations: 0.9074 MB / 1.156 GB, free: 0.8008 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.6102, allocations: 132.8 kB / 1.157 GB, free: 0.7383 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.6104, allocations: 135.5 kB / 1.157 GB, free: 0.6914 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.6117, allocations: 0.9233 MB / 1.158 GB, free: 400 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.6117, allocations: 1.125 kB / 1.158 GB, free: 400 kB / 1.01 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6117, allocations: 0 / 1.158 GB, free: 400 kB / 1.01 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.6117, allocations: 3.938 kB / 1.158 GB, free: 396 kB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001397/0.6131, allocations: 0.7027 MB / 1.158 GB, free: 15.89 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6131, allocations: 11.58 kB / 1.158 GB, free: 15.89 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.333e-05/0.6132, allocations: 66.11 kB / 1.158 GB, free: 15.83 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006434/0.6139, allocations: 159.9 kB / 1.158 GB, free: 15.8 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.6144, allocations: 304.9 kB / 1.159 GB, free: 15.57 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.6144, allocations: 19.12 kB / 1.159 GB, free: 15.57 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.6144, allocations: 26.75 kB / 1.159 GB, free: 15.56 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.615, allocations: 399.8 kB / 1.159 GB, free: 15.37 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.615, allocations: 0.6094 kB / 1.159 GB, free: 15.37 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.615, allocations: 10.53 kB / 1.159 GB, free: 15.36 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.615, allocations: 14.17 kB / 1.159 GB, free: 15.36 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.6155, allocations: 341.6 kB / 1.16 GB, free: 15.25 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.6169, allocations: 1.299 MB / 1.161 GB, free: 14.36 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.6173, allocations: 224.8 kB / 1.161 GB, free: 14.28 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.6175, allocations: 134.2 kB / 1.161 GB, free: 14.23 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.6178, allocations: 70.42 kB / 1.161 GB, free: 14.23 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.6178, allocations: 43.36 kB / 1.161 GB, free: 14.19 MB / 1.026 GB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.6178, allocations: 4 kB / 1.161 GB, free: 14.18 MB / 1.026 GB Notification: Performance of matching and sorting (n=20): time 0.0006941/0.6185, allocations: 384.8 kB / 1.162 GB, free: 14.05 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.6185, allocations: 57.78 kB / 1.162 GB, free: 13.98 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.6188, allocations: 355.4 kB / 1.162 GB, free: 13.81 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.6189, allocations: 31.14 kB / 1.162 GB, free: 13.77 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.619, allocations: 191.8 kB / 1.162 GB, free: 13.61 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.619, allocations: 77.52 kB / 1.162 GB, free: 13.55 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.6191, allocations: 49.19 kB / 1.162 GB, free: 13.52 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.6192, allocations: 342.5 kB / 1.163 GB, free: 13.2 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.6193, allocations: 89.28 kB / 1.163 GB, free: 13.17 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.6195, allocations: 233.5 kB / 1.163 GB, free: 12.99 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.6198, allocations: 260.3 kB / 1.163 GB, free: 12.85 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6198, allocations: 1.062 kB / 1.163 GB, free: 12.85 MB / 1.026 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003915/0.6202, allocations: 307.7 kB / 1.164 GB, free: 12.72 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6202, allocations: 5.859 kB / 1.164 GB, free: 12.72 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6202, allocations: 6.656 kB / 1.164 GB, free: 12.72 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6203, allocations: 2.531 kB / 1.164 GB, free: 12.72 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.6204, allocations: 44.56 kB / 1.164 GB, free: 12.72 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.6204, allocations: 8.219 kB / 1.164 GB, free: 12.71 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.6206, allocations: 31.53 kB / 1.164 GB, free: 12.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.6206, allocations: 9.266 kB / 1.164 GB, free: 12.7 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.0001233/0.6207, allocations: 163.1 kB / 1.164 GB, free: 12.56 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.6208, allocations: 44.2 kB / 1.164 GB, free: 12.53 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.6212, allocations: 300.2 kB / 1.164 GB, free: 12.4 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6212, allocations: 3 kB / 1.164 GB, free: 12.4 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.6212, allocations: 0 / 1.164 GB, free: 12.4 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6212, allocations: 1.219 kB / 1.164 GB, free: 12.4 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/0.6222, allocations: 0.8341 MB / 1.165 GB, free: 11.86 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.6222, allocations: 3.516 kB / 1.165 GB, free: 11.86 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.6223, allocations: 46 kB / 1.165 GB, free: 11.86 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.6223, allocations: 4.734 kB / 1.165 GB, free: 11.86 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.6223, allocations: 8.922 kB / 1.165 GB, free: 11.85 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.6223, allocations: 4.688 kB / 1.165 GB, free: 11.85 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6223, allocations: 7 kB / 1.165 GB, free: 11.85 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.6227, allocations: 447 kB / 1.165 GB, free: 11.54 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 8.545e-05/0.6228, allocations: 60.16 kB / 1.165 GB, free: 11.51 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.6228, allocations: 10.72 kB / 1.166 GB, free: 11.5 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.6229, allocations: 14.88 kB / 1.166 GB, free: 11.5 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.623, allocations: 18.84 kB / 1.166 GB, free: 11.5 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.623, allocations: 12.67 kB / 1.166 GB, free: 11.49 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002082/0.6232, allocations: 255.7 kB / 1.166 GB, free: 11.36 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6232, allocations: 4 kB / 1.166 GB, free: 11.36 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0003756/0.6236, allocations: 103 kB / 1.166 GB, free: 11.34 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.0008489/0.6244, allocations: 1.027 MB / 1.167 GB, free: 10.48 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.6248, allocations: 236.4 kB / 1.167 GB, free: 10.41 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6249, allocations: 0 / 1.167 GB, free: 10.41 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.625, allocations: 127.3 kB / 1.167 GB, free: 10.38 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000738/0.6258, allocations: 210.3 kB / 1.167 GB, free: 10.32 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.6297, allocations: 3.293 MB / 1.171 GB, free: 8.199 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.6299, allocations: 191.2 kB / 1.171 GB, free: 8.109 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0003569/0.6302, allocations: 87.78 kB / 1.171 GB, free: 8.094 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.6304, allocations: 116 kB / 1.171 GB, free: 8.012 MB / 1.026 GB Notification: Performance of SimCode: time 1.553e-06/0.6304, allocations: 1.156 kB / 1.171 GB, free: 8.012 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09966/0.7301, allocations: 12.01 MB / 1.183 GB, free: 5.961 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/8.113, allocations: 14.59 kB / 1.183 GB, free: 5.953 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_13_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_13_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu) > Buildings_13_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_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_FixedResistances_Validation_LosslessPipe.fmu) > Buildings_13_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.747886994853616]