Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.00132/0.00132, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001405/0.001405, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.428/1.428, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.863/0.863, allocations: 133.9 MB / 443.5 MB, free: 13.9 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002055/0.002055, allocations: 67.25 kB / 0.6141 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1559, allocations: 85.86 MB / 0.698 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6288/0.7847, allocations: 197.7 MB / 0.891 GB, free: 1.973 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009829/0.7946, allocations: 6.933 MB / 0.8978 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.7964, allocations: 67.47 kB / 0.8978 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.7982, allocations: 0.7156 MB / 0.8985 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005777/0.8039, allocations: 2.437 MB / 0.9009 GB, free: 1.727 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.8072, allocations: 1.431 MB / 0.9023 GB, free: 1.695 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00397/0.8112, allocations: 2.982 MB / 0.9052 GB, free: 1.688 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.8125, allocations: 0.7552 MB / 0.906 GB, free: 1.645 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.8155, allocations: 1.173 MB / 0.9071 GB, free: 1.637 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.8172, allocations: 0.8458 MB / 0.9079 GB, free: 1.633 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.8174, allocations: 100.7 kB / 0.908 GB, free: 1.633 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004403/0.8218, allocations: 2.157 MB / 0.9101 GB, free: 1.613 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004643/0.8223, allocations: 386.3 kB / 0.9105 GB, free: 1.609 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008453/0.8231, allocations: 0.5834 MB / 0.9111 GB, free: 1.539 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004845/0.828, allocations: 2.435 MB / 0.9135 GB, free: 1.254 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.828, allocations: 2.5 kB / 0.9135 GB, free: 1.254 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.944e-06/0.828, allocations: 0 / 0.9135 GB, free: 1.254 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.285e-05/0.828, allocations: 0.9062 kB / 0.9135 GB, free: 1.254 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003847/0.8319, allocations: 1.678 MB / 0.9151 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.8319, allocations: 13.39 kB / 0.9151 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.42e-05/0.832, allocations: 17.88 kB / 0.9151 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.8321, allocations: 114.3 kB / 0.9152 GB, free: 16.3 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.8351, allocations: 0.5471 MB / 0.9158 GB, free: 16.23 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.8374, allocations: 1.046 MB / 0.9168 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.8375, allocations: 50.75 kB / 0.9168 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.8376, allocations: 68.12 kB / 0.9169 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.8399, allocations: 1.11 MB / 0.918 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.8399, allocations: 3.969 kB / 0.918 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.513e-05/0.84, allocations: 25.97 kB / 0.918 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.89e-05/0.84, allocations: 38.33 kB / 0.918 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.8428, allocations: 1.159 MB / 0.9192 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005096/0.8479, allocations: 3.172 MB / 0.9223 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.8494, allocations: 0.6525 MB / 0.9229 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007113/0.8501, allocations: 395.3 kB / 0.9233 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.8511, allocations: 1.022 MB / 0.9243 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009535/0.8521, allocations: 0.5117 MB / 0.9248 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=57): time 2.986e-06/0.8521, allocations: 0 / 0.9248 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=57): time 0.002903/0.855, allocations: 1.229 MB / 0.926 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.8551, allocations: 139.2 kB / 0.9261 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.8568, allocations: 1.183 MB / 0.9273 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-05/0.8569, allocations: 35.92 kB / 0.9273 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.8572, allocations: 449.6 kB / 0.9277 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.8574, allocations: 197.4 kB / 0.9279 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.8576, allocations: 148.3 kB / 0.9281 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8578, allocations: 335.4 kB / 0.9284 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.8589, allocations: 437.5 kB / 0.9288 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.8602, allocations: 0.5923 MB / 0.9294 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.8621, allocations: 0.9264 MB / 0.9303 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.8621, allocations: 3.938 kB / 0.9303 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003022/0.8652, allocations: 1.202 MB / 0.9315 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.8652, allocations: 38.62 kB / 0.9315 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.8652, allocations: 2.688 kB / 0.9315 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.8652, allocations: 8.438 kB / 0.9315 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008904/0.8661, allocations: 183.9 kB / 0.9317 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.8661, allocations: 15 kB / 0.9317 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.8677, allocations: 250.6 kB / 0.9319 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/0.8677, allocations: 37.38 kB / 0.932 GB, free: 11.88 MB / 0.6856 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.0005035/0.8682, allocations: 332.8 kB / 0.9323 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.8685, allocations: 122.8 kB / 0.9324 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.8705, allocations: 0.9959 MB / 0.9334 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.8705, allocations: 8.281 kB / 0.9334 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.8705, allocations: 4 kB / 0.9334 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.8705, allocations: 11.16 kB / 0.9334 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004301/0.8748, allocations: 3.164 MB / 0.9365 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.8748, allocations: 7.375 kB / 0.9365 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.8754, allocations: 115.9 kB / 0.9366 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.8754, allocations: 12.66 kB / 0.9366 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/0.8755, allocations: 27.47 kB / 0.9367 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.8755, allocations: 13.56 kB / 0.9367 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.8755, allocations: 13.53 kB / 0.9367 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.8776, allocations: 1.344 MB / 0.938 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/0.8781, allocations: 345.3 kB / 0.9383 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.8783, allocations: 23.52 kB / 0.9383 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.8794, allocations: 99.59 kB / 0.9384 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.8795, allocations: 60.89 kB / 0.9385 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.238e-05/0.8796, allocations: 44.27 kB / 0.9385 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001376/0.8809, allocations: 0.8476 MB / 0.9394 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8809, allocations: 0 / 0.9394 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001063/0.882, allocations: 302 kB / 0.9397 GB, free: 9.848 MB / 0.6856 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.002915/0.8849, allocations: 2.11 MB / 0.9417 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002368/0.8873, allocations: 0.9783 MB / 0.9427 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.8873, allocations: 0 / 0.9427 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009087/0.8882, allocations: 485.2 kB / 0.9431 GB, free: 7.914 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/0.8909, allocations: 0.5571 MB / 0.9437 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/0.9081, allocations: 9.42 MB / 0.9529 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/0.9088, allocations: 1.069 MB / 0.9539 GB, free: 20 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001126/0.9099, allocations: 278.7 kB / 0.9542 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000581/0.9105, allocations: 359.2 kB / 0.9545 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of SimCode: time 7.31e-07/0.9105, allocations: 0 / 0.9545 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06157/0.9721, allocations: 31.9 MB / 0.9857 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.14, allocations: 2.188 kB / 0.9857 GB, free: 15.98 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.900113497045822] Failed to read output from testmodel.py, exit status != 0: 11.57851581502473 11.319258882 10.486255339 Calling exit ...