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.001265/0.001265, allocations: 109 kB / 20.48 MB, free: 1.477 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.001482/0.001482, allocations: 213.8 kB / 23.79 MB, free: 4.684 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.456/1.456, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.9778/0.9778, allocations: 150 MB / 464 MB, free: 10.98 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="cs",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.001984/0.001984, allocations: 63.44 kB / 0.642 GB, free: 10.73 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1898, allocations: 89.18 MB / 0.7291 GB, free: 1.621 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.6051/0.7949, allocations: 165 MB / 0.8903 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003363/0.7983, allocations: 1.727 MB / 0.892 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004141/0.7987, allocations: 15.88 kB / 0.892 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00065/0.7993, allocations: 170.9 kB / 0.8921 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.8008, allocations: 0.5329 MB / 0.8927 GB, free: 108 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.8021, allocations: 438.5 kB / 0.8931 GB, free: 15.68 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0008793/0.803, allocations: 0.5848 MB / 0.8937 GB, free: 15.09 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.8033, allocations: 145.4 kB / 0.8938 GB, free: 14.95 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.8044, allocations: 498.2 kB / 0.8943 GB, free: 14.46 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.8046, allocations: 163.3 kB / 0.8944 GB, free: 14.3 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.8047, allocations: 12 kB / 0.8944 GB, free: 14.29 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.8059, allocations: 0.7132 MB / 0.8951 GB, free: 13.57 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.806, allocations: 83.73 kB / 0.8952 GB, free: 13.49 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.8061, allocations: 119.3 kB / 0.8953 GB, free: 13.38 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0008396/0.807, allocations: 0.498 MB / 0.8958 GB, free: 12.88 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.807, allocations: 3.984 kB / 0.8958 GB, free: 12.88 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.593e-06/0.807, allocations: 0 / 0.8958 GB, free: 12.88 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.807, allocations: 0 / 0.8958 GB, free: 12.88 MB / 0.67 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.0009355/0.8079, allocations: 0.5235 MB / 0.8963 GB, free: 12.32 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.808, allocations: 8.031 kB / 0.8963 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.906e-05/0.808, allocations: 4 kB / 0.8963 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.487e-05/0.8081, allocations: 42.56 kB / 0.8964 GB, free: 12.26 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/0.8084, allocations: 63.7 kB / 0.8964 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.8089, allocations: 236.2 kB / 0.8967 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.809, allocations: 8 kB / 0.8967 GB, free: 11.93 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.809, allocations: 16 kB / 0.8967 GB, free: 11.91 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.8094, allocations: 200.1 kB / 0.8969 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.8094, allocations: 0 / 0.8969 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.8094, allocations: 4 kB / 0.8969 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.8095, allocations: 7.984 kB / 0.8969 GB, free: 11.69 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.8098, allocations: 127.8 kB / 0.897 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.8109, allocations: 0.7527 MB / 0.8977 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.8112, allocations: 78.53 kB / 0.8978 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.8114, allocations: 84.75 kB / 0.8979 GB, free: 10.58 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/0.8116, allocations: 31.97 kB / 0.8979 GB, free: 10.55 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.8117, allocations: 38.5 kB / 0.898 GB, free: 10.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.8117, allocations: 0 / 0.898 GB, free: 10.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0007769/0.8124, allocations: 213.4 kB / 0.8982 GB, free: 10.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.8125, allocations: 59.39 kB / 0.8982 GB, free: 10.21 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.8128, allocations: 272.2 kB / 0.8985 GB, free: 9.941 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.8129, allocations: 25.7 kB / 0.8985 GB, free: 9.91 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.813, allocations: 148 kB / 0.8987 GB, free: 9.762 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.813, allocations: 39.69 kB / 0.8987 GB, free: 9.723 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.8131, allocations: 29.7 kB / 0.8987 GB, free: 9.688 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.8133, allocations: 342.8 kB / 0.899 GB, free: 9.344 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.8134, allocations: 40.83 kB / 0.8991 GB, free: 9.301 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.8136, allocations: 93.05 kB / 0.8992 GB, free: 9.191 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.8139, allocations: 123.3 kB / 0.8993 GB, free: 9.059 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8139, allocations: 4 kB / 0.8993 GB, free: 9.055 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003672/0.8143, allocations: 165.5 kB / 0.8995 GB, free: 8.887 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.8143, allocations: 4 kB / 0.8995 GB, free: 8.883 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.8143, allocations: 0 / 0.8995 GB, free: 8.883 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.8143, allocations: 8.031 kB / 0.8995 GB, free: 8.875 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.8144, allocations: 19.98 kB / 0.8995 GB, free: 8.855 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.8144, allocations: 0 / 0.8995 GB, free: 8.855 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.8146, allocations: 19.88 kB / 0.8995 GB, free: 8.836 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.8146, allocations: 19.39 kB / 0.8995 GB, free: 8.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002295/0.8149, allocations: 148.1 kB / 0.8997 GB, free: 8.672 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001681/0.815, allocations: 93.05 kB / 0.8998 GB, free: 8.562 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002648/0.8153, allocations: 119.3 kB / 0.8999 GB, free: 8.434 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.8153, allocations: 0 / 0.8999 GB, free: 8.434 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003413/0.8157, allocations: 157.4 kB / 0.9 GB, free: 8.273 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.8157, allocations: 7.938 kB / 0.9 GB, free: 8.266 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8157, allocations: 4.875 kB / 0.9 GB, free: 8.262 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.8157, allocations: 3.984 kB / 0.9 GB, free: 8.258 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.8158, allocations: 23.92 kB / 0.9001 GB, free: 8.234 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.8158, allocations: 0 / 0.9001 GB, free: 8.234 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.8159, allocations: 15.98 kB / 0.9001 GB, free: 8.219 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.816, allocations: 8 kB / 0.9001 GB, free: 8.211 MB / 0.67 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.0001615/0.8161, allocations: 192.2 kB / 0.9003 GB, free: 8.016 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.8162, allocations: 23.8 kB / 0.9003 GB, free: 7.992 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.8166, allocations: 163.2 kB / 0.9004 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.8166, allocations: 3.25 kB / 0.9004 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8166, allocations: 0 / 0.9004 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8166, allocations: 0 / 0.9004 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009869/0.8176, allocations: 0.5616 MB / 0.901 GB, free: 7.191 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.8176, allocations: 8.344 kB / 0.901 GB, free: 7.184 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.8177, allocations: 23.98 kB / 0.901 GB, free: 7.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.8177, allocations: 4 kB / 0.901 GB, free: 7.156 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.8177, allocations: 11.98 kB / 0.901 GB, free: 7.145 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.8177, allocations: 0 / 0.901 GB, free: 7.145 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.8177, allocations: 4 kB / 0.901 GB, free: 7.141 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.8181, allocations: 297.2 kB / 0.9013 GB, free: 6.812 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.8182, allocations: 39.83 kB / 0.9014 GB, free: 6.773 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.8183, allocations: 8 kB / 0.9014 GB, free: 6.766 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.8184, allocations: 11.98 kB / 0.9014 GB, free: 6.754 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.8185, allocations: 16.3 kB / 0.9014 GB, free: 6.738 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.8185, allocations: 8 kB / 0.9014 GB, free: 6.73 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001987/0.8187, allocations: 199.1 kB / 0.9016 GB, free: 6.535 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.8187, allocations: 0 / 0.9016 GB, free: 6.535 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004712/0.8192, allocations: 95.77 kB / 0.9017 GB, free: 6.441 MB / 0.67 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.0009284/0.8201, allocations: 0.878 MB / 0.9025 GB, free: 5.516 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.8206, allocations: 159.8 kB / 0.9027 GB, free: 5.359 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8206, allocations: 0 / 0.9027 GB, free: 5.359 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.8207, allocations: 64.33 kB / 0.9028 GB, free: 5.297 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.8215, allocations: 122.5 kB / 0.9029 GB, free: 5.188 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.8246, allocations: 2.375 MB / 0.9052 GB, free: 2.676 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.8251, allocations: 0.7597 MB / 0.9059 GB, free: 1.891 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000211/0.8253, allocations: 70.17 kB / 0.906 GB, free: 1.82 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.8254, allocations: 67.42 kB / 0.9061 GB, free: 1.754 MB / 0.67 GB Notification: Performance of SimCode: time 7.82e-07/0.8254, allocations: 0 / 0.9061 GB, free: 1.754 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.8561, allocations: 7.09 MB / 0.913 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.5, allocations: 6.094 kB / 0.913 GB, free: 10.9 MB / 0.6856 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.350987971003633] Failed to read output from testmodel.py, exit status != 0: 12.663918254023883 12.682293452 11.871710359 Calling exit ...