Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.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.001649/0.001649, allocations: 115.2 kB / 19.7 MB, free: 2.039 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.002005/0.002005, allocations: 222.3 kB / 23.01 MB, free: 4.941 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.9885/0.9885, allocations: 150 MB / 463.2 MB, free: 10.46 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.Sensors.Examples.Pressure,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure",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.002798/0.002798, allocations: 61.84 kB / 0.6413 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2049, allocations: 89.17 MB / 0.7284 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Pressure): time 0.5814/0.7863, allocations: 173.1 MB / 0.8974 GB, free: 10.14 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00992/0.7962, allocations: 7.415 MB / 0.9047 GB, free: 2.699 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005619/0.7968, allocations: 19.81 kB / 0.9047 GB, free: 2.68 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008577/0.7976, allocations: 222.6 kB / 0.9049 GB, free: 2.461 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.7995, allocations: 0.6028 MB / 0.9055 GB, free: 1.855 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.8009, allocations: 442.8 kB / 0.9059 GB, free: 1.426 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.8021, allocations: 0.7322 MB / 0.9066 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005149/0.8026, allocations: 207.6 kB / 0.9068 GB, free: 500 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.804, allocations: 0.5489 MB / 0.9074 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/0.8045, allocations: 230.8 kB / 0.9076 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 7.185e-05/0.8045, allocations: 24 kB / 0.9076 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.8059, allocations: 0.7211 MB / 0.9083 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.8061, allocations: 111.6 kB / 0.9084 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.8063, allocations: 155.2 kB / 0.9086 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.8074, allocations: 0.5741 MB / 0.9091 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.8074, allocations: 0 / 0.9091 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8074, allocations: 0 / 0.9091 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.8075, allocations: 0 / 0.9091 GB, free: 14.13 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00116/0.8086, allocations: 0.5822 MB / 0.9097 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.8087, allocations: 12.03 kB / 0.9097 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.4e-05/0.8088, allocations: 58.55 kB / 0.9098 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003802/0.8091, allocations: 59.77 kB / 0.9098 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.8097, allocations: 264 kB / 0.9101 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.8098, allocations: 16.44 kB / 0.9101 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.8098, allocations: 24 kB / 0.9101 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.8103, allocations: 300.6 kB / 0.9104 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.8104, allocations: 3.984 kB / 0.9104 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.8104, allocations: 12 kB / 0.9104 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.8104, allocations: 4 kB / 0.9104 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.8108, allocations: 179.5 kB / 0.9106 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.8127, allocations: 1.656 MB / 0.9122 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.813, allocations: 90.47 kB / 0.9123 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.8131, allocations: 76.83 kB / 0.9124 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/0.8134, allocations: 35.97 kB / 0.9124 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.8134, allocations: 34.5 kB / 0.9124 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.8134, allocations: 4 kB / 0.9124 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.0007076/0.8141, allocations: 223 kB / 0.9126 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.8141, allocations: 51.41 kB / 0.9127 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.8145, allocations: 324.5 kB / 0.913 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.8145, allocations: 25.7 kB / 0.913 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.8147, allocations: 208.1 kB / 0.9132 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.8147, allocations: 43.62 kB / 0.9133 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/0.8148, allocations: 45.72 kB / 0.9133 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.815, allocations: 346.7 kB / 0.9136 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.8152, allocations: 56.81 kB / 0.9137 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.8154, allocations: 198.2 kB / 0.9139 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.8158, allocations: 229.5 kB / 0.9141 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.8158, allocations: 3.938 kB / 0.9141 GB, free: 8.625 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005147/0.8164, allocations: 261 kB / 0.9144 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.8164, allocations: 8 kB / 0.9144 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.8164, allocations: 1.25 kB / 0.9144 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.8164, allocations: 12.34 kB / 0.9144 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.8166, allocations: 51.91 kB / 0.9144 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.8166, allocations: 4 kB / 0.9144 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.8169, allocations: 35.77 kB / 0.9145 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.8169, allocations: 12.14 kB / 0.9145 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002636/0.8172, allocations: 170 kB / 0.9146 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002645/0.8174, allocations: 204.2 kB / 0.9148 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000392/0.8178, allocations: 233.5 kB / 0.915 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.8178, allocations: 4 kB / 0.9151 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005017/0.8183, allocations: 253.6 kB / 0.9153 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.8184, allocations: 4 kB / 0.9153 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8184, allocations: 4 kB / 0.9153 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.8184, allocations: 4.406 kB / 0.9153 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.8185, allocations: 56.47 kB / 0.9154 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8186, allocations: 4 kB / 0.9154 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.8188, allocations: 31.92 kB / 0.9154 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.8188, allocations: 8 kB / 0.9154 GB, free: 7.172 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.0001453/0.819, allocations: 204.1 kB / 0.9156 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.819, allocations: 28.81 kB / 0.9156 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.8194, allocations: 174.5 kB / 0.9158 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.8194, allocations: 4 kB / 0.9158 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.8194, allocations: 0 / 0.9158 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.8194, allocations: 0 / 0.9158 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009709/0.8204, allocations: 0.5772 MB / 0.9164 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8204, allocations: 0 / 0.9164 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.8205, allocations: 35.91 kB / 0.9164 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.8205, allocations: 4.625 kB / 0.9164 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.8205, allocations: 0 / 0.9164 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.8205, allocations: 8.156 kB / 0.9164 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.8206, allocations: 8 kB / 0.9164 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.821, allocations: 298.6 kB / 0.9167 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.94e-05/0.8211, allocations: 46.42 kB / 0.9167 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.8211, allocations: 7.984 kB / 0.9167 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.8213, allocations: 19.91 kB / 0.9168 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.8214, allocations: 11.98 kB / 0.9168 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.8214, allocations: 8 kB / 0.9168 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002579/0.8216, allocations: 227 kB / 0.917 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8216, allocations: 0 / 0.917 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005853/0.8222, allocations: 131.8 kB / 0.9171 GB, free: 5.289 MB / 0.6856 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 (11): * Single equations (assignments): 11 * 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.0009601/0.8232, allocations: 0.8857 MB / 0.918 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005945/0.8238, allocations: 250.5 kB / 0.9182 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8238, allocations: 1.5 kB / 0.9182 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.8239, allocations: 56.34 kB / 0.9183 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007621/0.8247, allocations: 120.5 kB / 0.9184 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.8285, allocations: 2.819 MB / 0.9212 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.829, allocations: 0.7756 MB / 0.9219 GB, free: 112 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002625/0.8292, allocations: 91.67 kB / 0.922 GB, free: 24 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.8294, allocations: 91.48 kB / 0.9221 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of SimCode: time 3.81e-07/0.8294, allocations: 4 kB / 0.9221 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03827/0.8677, allocations: 8.142 MB / 0.93 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.68, allocations: 6.531 kB / 0.9301 GB, free: 8.012 MB / 0.7012 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.451620517997071] Failed to read output from testmodel.py, exit status != 0: 11.790515651926398 11.815767982 11.003435957 Calling exit ...