Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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.001516/0.001516, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001661/0.001661, allocations: 212.7 kB / 22.99 MB, free: 4.605 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9857/0.9857, allocations: 149.9 MB / 463 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002356/0.002356, allocations: 65.75 kB / 0.6411 GB, free: 10.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1833, allocations: 89.18 MB / 0.7281 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5882/0.7715, allocations: 142.3 MB / 0.8671 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003062/0.7746, allocations: 1.6 MB / 0.8687 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.7749, allocations: 15.81 kB / 0.8687 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005691/0.7754, allocations: 159 kB / 0.8689 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.7768, allocations: 0.5162 MB / 0.8694 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.778, allocations: 431.8 kB / 0.8698 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008261/0.7788, allocations: 0.5732 MB / 0.8703 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.7791, allocations: 156.3 kB / 0.8705 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.7801, allocations: 494.2 kB / 0.871 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.7804, allocations: 151.3 kB / 0.8711 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.7804, allocations: 16 kB / 0.8711 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009883/0.7814, allocations: 0.5573 MB / 0.8717 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.7815, allocations: 87.67 kB / 0.8717 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.7816, allocations: 103.5 kB / 0.8718 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007452/0.7824, allocations: 494.2 kB / 0.8723 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7824, allocations: 0 / 0.8723 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7824, allocations: 0 / 0.8723 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.964e-06/0.7824, allocations: 0 / 0.8723 GB, free: 1.676 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008587/0.7833, allocations: 0.5158 MB / 0.8728 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.7833, allocations: 8.031 kB / 0.8728 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.554e-05/0.7834, allocations: 50.55 kB / 0.8729 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/0.7837, allocations: 67.7 kB / 0.8729 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.7842, allocations: 236.1 kB / 0.8732 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.7842, allocations: 12 kB / 0.8732 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.7842, allocations: 12 kB / 0.8732 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.7846, allocations: 225.8 kB / 0.8734 GB, free: 484 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.7847, allocations: 4 kB / 0.8734 GB, free: 480 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.7847, allocations: 4 kB / 0.8734 GB, free: 476 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.7847, allocations: 4 kB / 0.8734 GB, free: 472 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.785, allocations: 127.8 kB / 0.8735 GB, free: 344 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.7861, allocations: 0.6676 MB / 0.8742 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.7863, allocations: 86.45 kB / 0.8743 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.7865, allocations: 68.88 kB / 0.8743 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.7867, allocations: 35.97 kB / 0.8744 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.7867, allocations: 38.5 kB / 0.8744 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.7867, allocations: 4 kB / 0.8744 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0007021/0.7874, allocations: 213.3 kB / 0.8746 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.7875, allocations: 55.41 kB / 0.8747 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.7878, allocations: 272.2 kB / 0.8749 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.7878, allocations: 25.7 kB / 0.8749 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.7879, allocations: 152 kB / 0.8751 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.788, allocations: 43.69 kB / 0.8751 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.788, allocations: 25.7 kB / 0.8752 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.7882, allocations: 334.8 kB / 0.8755 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.7884, allocations: 48.75 kB / 0.8755 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.7886, allocations: 221.6 kB / 0.8757 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.7889, allocations: 123.3 kB / 0.8759 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7889, allocations: 0 / 0.8759 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003526/0.7893, allocations: 165.4 kB / 0.876 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7893, allocations: 7.938 kB / 0.876 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7893, allocations: 0 / 0.876 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.7893, allocations: 4 kB / 0.876 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.7895, allocations: 24.98 kB / 0.876 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.7895, allocations: 0 / 0.876 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.7897, allocations: 23.88 kB / 0.8761 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.7897, allocations: 12.03 kB / 0.8761 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002096/0.7899, allocations: 148.1 kB / 0.8762 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002442/0.7902, allocations: 217.6 kB / 0.8764 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002586/0.7904, allocations: 119.2 kB / 0.8765 GB, free: 13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.41e-07/0.7904, allocations: 0 / 0.8765 GB, free: 13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003445/0.7908, allocations: 161.5 kB / 0.8767 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.7908, allocations: 9.25 kB / 0.8767 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.7908, allocations: 4.688 kB / 0.8767 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-06/0.7908, allocations: 0 / 0.8767 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.7909, allocations: 26.86 kB / 0.8767 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.7909, allocations: 4 kB / 0.8767 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.7911, allocations: 19.97 kB / 0.8768 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.7911, allocations: 4 kB / 0.8768 GB, free: 12.77 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001345/0.7912, allocations: 188.3 kB / 0.8769 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.7913, allocations: 27.8 kB / 0.877 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.7917, allocations: 167.2 kB / 0.8771 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.7917, allocations: 4 kB / 0.8771 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7917, allocations: 0 / 0.8771 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7917, allocations: 0 / 0.8771 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009684/0.7926, allocations: 0.546 MB / 0.8777 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.7926, allocations: 4 kB / 0.8777 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.7928, allocations: 27.97 kB / 0.8777 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.7928, allocations: 4 kB / 0.8777 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.7928, allocations: 0 / 0.8777 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.7928, allocations: 5.562 kB / 0.8777 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/0.7928, allocations: 7.938 kB / 0.8777 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.7932, allocations: 293.5 kB / 0.878 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.602e-05/0.7933, allocations: 39.83 kB / 0.878 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.7933, allocations: 4 kB / 0.878 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.7935, allocations: 11.98 kB / 0.878 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.7936, allocations: 15.92 kB / 0.8781 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.7936, allocations: 8 kB / 0.8781 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002009/0.7938, allocations: 195.1 kB / 0.8783 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7938, allocations: 4 kB / 0.8783 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004725/0.7942, allocations: 95.81 kB / 0.8783 GB, free: 11.02 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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.0008882/0.7951, allocations: 0.8859 MB / 0.8792 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004784/0.7956, allocations: 164 kB / 0.8794 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7956, allocations: 0 / 0.8794 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.7958, allocations: 67.95 kB / 0.8794 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000744/0.7965, allocations: 115.1 kB / 0.8795 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.7996, allocations: 2.371 MB / 0.8819 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.7998, allocations: 150.1 kB / 0.882 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002342/0.8, allocations: 71.56 kB / 0.8821 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.8001, allocations: 71.42 kB / 0.8821 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.8001, allocations: 4 kB / 0.8821 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04107/0.8412, allocations: 7.868 MB / 0.8898 GB, free: 15.34 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.42, allocations: 2.344 kB / 0.8898 GB, free: 15.34 MB / 0.67 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.458818019833416] Failed to read output from testmodel.py, exit status != 0: 12.53168983804062 12.55860646 11.771214883 Calling exit ...