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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002033/0.002034, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8154/0.8154, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000959/0.0009592, allocations: 90.89 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.659e-05, allocations: 2.75 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1693, allocations: 82.31 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.849/5.018, allocations: 1.891 GB / 2.531 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/5.019, allocations: 91.38 kB / 2.531 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.193/9.212, allocations: 0.9289 GB / 3.46 GB, free: 102.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/9.212, allocations: 0 / 3.46 GB, free: 102.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002409/9.212, allocations: 34.05 kB / 3.46 GB, free: 102.4 MB / 0.698 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.005974/9.218, allocations: 1.542 MB / 3.462 GB, free: 101.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/9.218, allocations: 6.469 kB / 3.462 GB, free: 101.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005271/9.218, allocations: 129.6 kB / 3.462 GB, free: 101.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/9.222, allocations: 421.5 kB / 3.462 GB, free: 101.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/9.225, allocations: 1.071 MB / 3.463 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/9.225, allocations: 64.09 kB / 3.463 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003132/9.226, allocations: 86.72 kB / 3.463 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/9.228, allocations: 0.8052 MB / 3.464 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/9.228, allocations: 0 / 3.464 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/9.228, allocations: 29.19 kB / 3.464 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/9.228, allocations: 28.34 kB / 3.464 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/9.229, allocations: 0.711 MB / 3.465 GB, free: 101.2 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.006432/9.236, allocations: 3.664 MB / 3.469 GB, free: 99.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/9.237, allocations: 1.069 MB / 3.47 GB, free: 98.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/9.238, allocations: 339.6 kB / 3.47 GB, free: 98.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006371/9.238, allocations: 413.6 kB / 3.47 GB, free: 98.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/9.238, allocations: 34.5 kB / 3.47 GB, free: 98.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.565e-06/9.238, allocations: 3.625 kB / 3.47 GB, free: 98.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001548/9.24, allocations: 0.6654 MB / 3.471 GB, free: 98.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/9.24, allocations: 58.31 kB / 3.471 GB, free: 98.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/9.241, allocations: 0.7191 MB / 3.472 GB, free: 98.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.384e-05/9.241, allocations: 43.2 kB / 3.472 GB, free: 98.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/9.242, allocations: 477.4 kB / 3.472 GB, free: 98.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/9.242, allocations: 215.1 kB / 3.472 GB, free: 97.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/9.242, allocations: 13.34 kB / 3.472 GB, free: 97.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/9.242, allocations: 335.5 kB / 3.473 GB, free: 97.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/9.242, allocations: 224.4 kB / 3.473 GB, free: 97.58 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/9.243, allocations: 370.9 kB / 3.473 GB, free: 97.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/9.243, allocations: 280.7 kB / 3.474 GB, free: 97.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/9.243, allocations: 0 / 3.474 GB, free: 97.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001004/9.244, allocations: 0.6927 MB / 3.474 GB, free: 97.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/9.244, allocations: 446.9 kB / 3.475 GB, free: 96.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/9.244, allocations: 1.156 kB / 3.475 GB, free: 96.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/9.244, allocations: 12.16 kB / 3.475 GB, free: 96.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/9.245, allocations: 136.5 kB / 3.475 GB, free: 96.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/9.245, allocations: 3.375 kB / 3.475 GB, free: 96.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/9.246, allocations: 127.9 kB / 3.475 GB, free: 96.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/9.246, allocations: 21.89 kB / 3.475 GB, free: 96.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.545e-06/9.246, allocations: 3.969 kB / 3.475 GB, free: 96.84 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008454/9.247, allocations: 0.573 MB / 3.476 GB, free: 96.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-06/9.247, allocations: 0 / 3.476 GB, free: 96.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/9.247, allocations: 7.922 kB / 3.476 GB, free: 96.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00052/9.248, allocations: 134.1 kB / 3.476 GB, free: 96.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/9.248, allocations: 7.906 kB / 3.476 GB, free: 96.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000768/9.248, allocations: 127.7 kB / 3.476 GB, free: 96.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/9.248, allocations: 26.59 kB / 3.476 GB, free: 96.78 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001528/9.249, allocations: 139 kB / 3.476 GB, free: 96.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/9.249, allocations: 103.4 kB / 3.476 GB, free: 96.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/9.25, allocations: 0.7297 MB / 3.477 GB, free: 96.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/9.25, allocations: 7.578 kB / 3.477 GB, free: 96.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/9.25, allocations: 3.406 kB / 3.477 GB, free: 96.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008329/9.251, allocations: 0.8815 MB / 3.478 GB, free: 96.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/9.254, allocations: 2.182 MB / 3.48 GB, free: 95.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/9.254, allocations: 7.625 kB / 3.48 GB, free: 95.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/9.255, allocations: 156.4 kB / 3.48 GB, free: 95.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/9.255, allocations: 7.562 kB / 3.48 GB, free: 95.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/9.255, allocations: 22.44 kB / 3.48 GB, free: 95.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/9.255, allocations: 7.922 kB / 3.48 GB, free: 95.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/9.255, allocations: 7.5 kB / 3.48 GB, free: 95.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/9.256, allocations: 1.329 MB / 3.481 GB, free: 94.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/9.257, allocations: 256.2 kB / 3.482 GB, free: 94.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/9.257, allocations: 22.95 kB / 3.482 GB, free: 94.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009011/9.258, allocations: 128.4 kB / 3.482 GB, free: 94.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/9.258, allocations: 46.09 kB / 3.482 GB, free: 94.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/9.258, allocations: 29.61 kB / 3.482 GB, free: 94.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007363/9.259, allocations: 0.5599 MB / 3.482 GB, free: 94.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/9.259, allocations: 0 / 3.482 GB, free: 94.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002875/9.261, allocations: 0.7693 MB / 3.483 GB, free: 94.52 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006396/9.268, allocations: 4.98 MB / 3.488 GB, free: 91.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001419/9.269, allocations: 0.9048 MB / 3.489 GB, free: 91.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/9.269, allocations: 0 / 3.489 GB, free: 91.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004133/9.27, allocations: 317.6 kB / 3.489 GB, free: 91.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/9.273, allocations: 0.6809 MB / 3.49 GB, free: 90.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/9.276, allocations: 1.998 MB / 3.492 GB, free: 90.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/9.277, allocations: 1.152 MB / 3.493 GB, free: 89.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001379/9.278, allocations: 378.9 kB / 3.493 GB, free: 89.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/9.279, allocations: 396.2 kB / 3.494 GB, free: 89 MB / 0.698 GB Notification: Performance of SimCode: time 8.91e-07/9.279, allocations: 0 / 3.494 GB, free: 89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/9.389, allocations: 70.83 MB / 3.563 GB, free: 24.28 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/9.39, allocations: 185.6 kB / 3.563 GB, free: 24.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.89/14.28, allocations: 0 / 3.563 GB, free: 24.05 MB / 0.698 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)