Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 101.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.8083/0.8083, allocations: 134 MB / 436.6 MB, free: 14.03 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 71.89 kB / 0.6051 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3838, allocations: 84.67 MB / 0.6878 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.6266/1.01, allocations: 240.8 MB / 0.9229 GB, free: 13.34 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01002/1.02, allocations: 7.22 MB / 0.93 GB, free: 13.18 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/1.022, allocations: 54.41 kB / 0.93 GB, free: 13.18 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/1.024, allocations: 0.7283 MB / 0.9307 GB, free: 13.16 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005002/1.029, allocations: 2.164 MB / 0.9329 GB, free: 13.08 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004862/1.034, allocations: 2.054 MB / 0.9349 GB, free: 13.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004018/1.038, allocations: 3.279 MB / 0.9381 GB, free: 12.97 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/1.039, allocations: 0.9331 MB / 0.939 GB, free: 12.89 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003478/1.043, allocations: 1.862 MB / 0.9408 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/1.045, allocations: 1.023 MB / 0.9418 GB, free: 12.59 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/1.045, allocations: 122.5 kB / 0.9419 GB, free: 12.59 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004418/1.049, allocations: 2.627 MB / 0.9445 GB, free: 12.34 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004512/1.05, allocations: 473.5 kB / 0.9449 GB, free: 12.13 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008021/1.05, allocations: 0.7205 MB / 0.9456 GB, free: 11.72 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004123/1.055, allocations: 2.696 MB / 0.9483 GB, free: 10.92 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.055, allocations: 10.59 kB / 0.9483 GB, free: 10.92 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.473e-06/1.055, allocations: 0 / 0.9483 GB, free: 10.92 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.271e-05/1.055, allocations: 0 / 0.9483 GB, free: 10.92 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002376/1.057, allocations: 1.754 MB / 0.95 GB, free: 9.766 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.057, allocations: 14.05 kB / 0.95 GB, free: 9.766 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/1.057, allocations: 127.2 kB / 0.9501 GB, free: 9.676 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/1.06, allocations: 428.1 kB / 0.9505 GB, free: 9.574 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/1.061, allocations: 1.034 MB / 0.9515 GB, free: 8.914 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/1.061, allocations: 59.91 kB / 0.9516 GB, free: 8.887 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/1.061, allocations: 86.47 kB / 0.9517 GB, free: 8.859 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/1.063, allocations: 0.8676 MB / 0.9525 GB, free: 8.363 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/1.063, allocations: 0.9375 kB / 0.9525 GB, free: 8.363 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/1.063, allocations: 30.06 kB / 0.9526 GB, free: 8.34 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/1.063, allocations: 29.69 kB / 0.9526 GB, free: 8.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/1.064, allocations: 0.8058 MB / 0.9534 GB, free: 7.941 MB / 0.67 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.003617/1.068, allocations: 3.643 MB / 0.9569 GB, free: 4.941 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/1.069, allocations: 1.059 MB / 0.958 GB, free: 4.059 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/1.069, allocations: 340.2 kB / 0.9583 GB, free: 3.891 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005701/1.07, allocations: 411.8 kB / 0.9587 GB, free: 3.48 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/1.07, allocations: 45.53 kB / 0.9587 GB, free: 3.43 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.114e-06/1.07, allocations: 1.406 kB / 0.9587 GB, free: 3.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001846/1.072, allocations: 0.9612 MB / 0.9597 GB, free: 2.957 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/1.072, allocations: 57.31 kB / 0.9597 GB, free: 2.895 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008165/1.073, allocations: 0.8373 MB / 0.9605 GB, free: 2.418 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/1.073, allocations: 43.27 kB / 0.9606 GB, free: 2.371 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/1.073, allocations: 482 kB / 0.961 GB, free: 1.957 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/1.073, allocations: 228.1 kB / 0.9613 GB, free: 1.762 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/1.073, allocations: 112.7 kB / 0.9614 GB, free: 1.691 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.301e-05/1.073, allocations: 335.5 kB / 0.9617 GB, free: 1.363 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/1.074, allocations: 248.8 kB / 0.9619 GB, free: 1.238 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/1.074, allocations: 377.2 kB / 0.9623 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/1.075, allocations: 0.585 MB / 0.9628 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.075, allocations: 0 / 0.9628 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001048/1.076, allocations: 0.736 MB / 0.9636 GB, free: 308 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.076, allocations: 9.578 kB / 0.9636 GB, free: 304 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.076, allocations: 7.094 kB / 0.9636 GB, free: 300 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.076, allocations: 3.25 kB / 0.9636 GB, free: 300 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/1.076, allocations: 125.8 kB / 0.9637 GB, free: 280 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.076, allocations: 5.375 kB / 0.9637 GB, free: 280 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/1.077, allocations: 73.72 kB / 0.9638 GB, free: 232 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/1.077, allocations: 23.44 kB / 0.9638 GB, free: 224 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006718/1.078, allocations: 499.4 kB / 0.9643 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005299/1.078, allocations: 368 kB / 0.9646 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009067/1.079, allocations: 0.5812 MB / 0.9652 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/1.079, allocations: 0 / 0.9652 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001229/1.081, allocations: 0.7298 MB / 0.9659 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.081, allocations: 8 kB / 0.9659 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/1.081, allocations: 0 / 0.9659 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/1.081, allocations: 4 kB / 0.9659 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/1.081, allocations: 130.3 kB / 0.966 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.081, allocations: 4 kB / 0.9661 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/1.082, allocations: 63.69 kB / 0.9661 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/1.082, allocations: 20 kB / 0.9661 GB, free: 14.54 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0002159/1.082, allocations: 221.6 kB / 0.9663 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/1.082, allocations: 111.3 kB / 0.9664 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/1.084, allocations: 0.7398 MB / 0.9672 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.084, allocations: 11.98 kB / 0.9672 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.084, allocations: 0 / 0.9672 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/1.085, allocations: 0.9026 MB / 0.9681 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/1.088, allocations: 2.246 MB / 0.9703 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.088, allocations: 8.031 kB / 0.9703 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/1.089, allocations: 134.2 kB / 0.9704 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/1.089, allocations: 8 kB / 0.9704 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/1.089, allocations: 20 kB / 0.9704 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/1.089, allocations: 7.984 kB / 0.9704 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.089, allocations: 7.094 kB / 0.9704 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/1.091, allocations: 1.265 MB / 0.9717 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/1.091, allocations: 264.3 kB / 0.9719 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/1.091, allocations: 20 kB / 0.9719 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/1.092, allocations: 35.95 kB / 0.972 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/1.092, allocations: 55.5 kB / 0.972 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/1.092, allocations: 20 kB / 0.972 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007956/1.093, allocations: 0.5901 MB / 0.9726 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/1.093, allocations: 0 / 0.9726 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001242/1.094, allocations: 0.538 MB / 0.9731 GB, free: 7.094 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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.002694/1.097, allocations: 1.941 MB / 0.975 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001767/1.099, allocations: 0.8986 MB / 0.9759 GB, free: 4.238 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.099, allocations: 0 / 0.9759 GB, free: 4.238 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005734/1.099, allocations: 325.3 kB / 0.9762 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/1.102, allocations: 0.6094 MB / 0.9768 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/1.113, allocations: 7.613 MB / 0.9843 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008113/1.113, allocations: 1.123 MB / 0.9854 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001029/1.115, allocations: 304.1 kB / 0.9856 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005577/1.115, allocations: 415.3 kB / 0.986 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of SimCode: time 7.31e-07/1.115, allocations: 0 / 0.986 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06552/1.181, allocations: 29.54 MB / 1.015 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.449/10.63, allocations: 8.219 kB / 1.015 GB, free: 12.66 MB / 0.7325 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.90089089423418] Failed to read output from testmodel.py, exit status != 0: 10.714999118819833 10.728430717 9.670899467 Calling exit ...