Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001581/0.001581, allocations: 118 kB / 17.84 MB, free: 5.234 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.002823/0.002823, allocations: 203.8 kB / 20.79 MB, free: 2.297 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.631/1.631, allocations: 230.6 MB / 254.2 MB, free: 15.11 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 1.07/1.07, allocations: 150 MB / 460.2 MB, free: 5.668 MB / 350.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.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.002109/0.002109, allocations: 72.08 kB / 0.6368 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1749, allocations: 89.13 MB / 0.7239 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6369/0.8117, allocations: 197.7 MB / 0.917 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.8225, allocations: 6.955 MB / 0.9238 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.825, allocations: 66.38 kB / 0.9238 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.8272, allocations: 0.7024 MB / 0.9245 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006884/0.8341, allocations: 2.442 MB / 0.9269 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.8378, allocations: 1.44 MB / 0.9283 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006632/0.8444, allocations: 2.979 MB / 0.9312 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.8463, allocations: 0.7439 MB / 0.9319 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005144/0.8514, allocations: 1.587 MB / 0.9335 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.8539, allocations: 0.8456 MB / 0.9343 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004396/0.8543, allocations: 99.06 kB / 0.9344 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005736/0.86, allocations: 2.135 MB / 0.9365 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008578/0.8609, allocations: 376.7 kB / 0.9368 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.8621, allocations: 0.584 MB / 0.9374 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006013/0.8681, allocations: 2.402 MB / 0.9398 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.8681, allocations: 4 kB / 0.9398 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8681, allocations: 0 / 0.9398 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.195e-05/0.8682, allocations: 4 kB / 0.9398 GB, free: 9.422 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004658/0.8728, allocations: 1.667 MB / 0.9414 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.8729, allocations: 10.09 kB / 0.9414 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.24e-05/0.8729, allocations: 20.47 kB / 0.9414 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/0.8731, allocations: 112.4 kB / 0.9415 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/0.8767, allocations: 0.5417 MB / 0.9421 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/0.8797, allocations: 1.041 MB / 0.9431 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.829e-05/0.8798, allocations: 56.31 kB / 0.9431 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.88, allocations: 75.97 kB / 0.9432 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/0.883, allocations: 1.104 MB / 0.9443 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.883, allocations: 0 / 0.9443 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.8831, allocations: 26.84 kB / 0.9443 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.016e-05/0.8832, allocations: 38.06 kB / 0.9443 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/0.8866, allocations: 1.164 MB / 0.9455 GB, free: 5.715 MB / 0.6856 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.007016/0.8936, allocations: 3.173 MB / 0.9486 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.8956, allocations: 0.6501 MB / 0.9492 GB, free: 3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008617/0.8965, allocations: 394.3 kB / 0.9496 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.8975, allocations: 1.022 MB / 0.9506 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.8986, allocations: 0.5164 MB / 0.9511 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=57): time 2.255e-06/0.8986, allocations: 0 / 0.9511 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of matching and sorting (n=57): time 0.003396/0.902, allocations: 1.233 MB / 0.9523 GB, free: 0.6797 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/0.9021, allocations: 136.5 kB / 0.9524 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.9041, allocations: 1.178 MB / 0.9536 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.9042, allocations: 38.67 kB / 0.9536 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/0.9046, allocations: 447.2 kB / 0.954 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.9049, allocations: 193.2 kB / 0.9542 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.9052, allocations: 141.1 kB / 0.9544 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.9053, allocations: 337.9 kB / 0.9547 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.9066, allocations: 432.8 kB / 0.9551 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.9081, allocations: 0.598 MB / 0.9557 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.9103, allocations: 0.927 MB / 0.9566 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.9103, allocations: 1.875 kB / 0.9566 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003389/0.9137, allocations: 1.207 MB / 0.9578 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/0.9138, allocations: 36.88 kB / 0.9578 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.9138, allocations: 6.875 kB / 0.9578 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.9138, allocations: 7.781 kB / 0.9578 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.9148, allocations: 185.8 kB / 0.958 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.9149, allocations: 5.094 kB / 0.958 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.9165, allocations: 246.8 kB / 0.9582 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.479e-05/0.9166, allocations: 37.23 kB / 0.9583 GB, free: 12.89 MB / 0.7012 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.0005717/0.9172, allocations: 332.7 kB / 0.9586 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/0.9175, allocations: 125.7 kB / 0.9587 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.9198, allocations: 0.9945 MB / 0.9597 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.9198, allocations: 7.688 kB / 0.9597 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.9198, allocations: 0 / 0.9597 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.9199, allocations: 5.859 kB / 0.9597 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/0.9253, allocations: 3.172 MB / 0.9628 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.9253, allocations: 11.47 kB / 0.9628 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/0.926, allocations: 127 kB / 0.9629 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.926, allocations: 7.969 kB / 0.9629 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.9261, allocations: 27.25 kB / 0.963 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-05/0.9261, allocations: 19.27 kB / 0.963 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.9261, allocations: 7.219 kB / 0.963 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.9286, allocations: 1.349 MB / 0.9643 GB, free: 8.73 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006644/0.9293, allocations: 340.6 kB / 0.9646 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.9294, allocations: 20.38 kB / 0.9646 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.9307, allocations: 100.5 kB / 0.9647 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.9308, allocations: 63.02 kB / 0.9648 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.405e-05/0.9309, allocations: 39.88 kB / 0.9648 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001661/0.9326, allocations: 0.8488 MB / 0.9657 GB, free: 7.879 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9326, allocations: 0 / 0.9657 GB, free: 7.879 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001645/0.9342, allocations: 300.4 kB / 0.966 GB, free: 7.828 MB / 0.7012 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.003788/0.938, allocations: 2.12 MB / 0.968 GB, free: 6.227 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002796/0.9408, allocations: 0.9706 MB / 0.969 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/0.9408, allocations: 4 kB / 0.969 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.9419, allocations: 476.9 kB / 0.9694 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/0.9453, allocations: 0.5508 MB / 0.97 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/0.9659, allocations: 9.428 MB / 0.9792 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/0.9667, allocations: 1.069 MB / 0.9802 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001193/0.9679, allocations: 275.2 kB / 0.9805 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006617/0.9686, allocations: 359.3 kB / 0.9808 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of SimCode: time 1.233e-06/0.9686, allocations: 0 / 0.9808 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0683/1.037, allocations: 31.89 MB / 1.012 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.15, allocations: 14.38 kB / 1.012 GB, free: 9.27 MB / 0.7481 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.361885197053198] Failed to read output from testmodel.py, exit status != 0: 12.313262636947911 12.330689181 11.459035688 Calling exit ...