Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_dev_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.001561/0.001561, allocations: 174.6 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.7952/0.7952, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.619/1.619, allocations: 221.3 MB / 400.4 MB, free: 5.863 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.001078/0.001078, allocations: 92.78 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.277e-05/4.279e-05, allocations: 7.547 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1588, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.949/5.108, allocations: 1.891 GB / 2.531 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/5.108, allocations: 92.44 kB / 2.531 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.198/9.306, allocations: 0.9289 GB / 3.46 GB, free: 102.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/9.306, allocations: 0 / 3.46 GB, free: 102.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002543/9.306, allocations: 37.75 kB / 3.46 GB, free: 102.2 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.005048/9.311, allocations: 1.528 MB / 3.462 GB, free: 101.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/9.312, allocations: 10.72 kB / 3.462 GB, free: 101.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005408/9.312, allocations: 132.9 kB / 3.462 GB, free: 101.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/9.315, allocations: 421.7 kB / 3.462 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/9.319, allocations: 1.077 MB / 3.463 GB, free: 101 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.695e-05/9.319, allocations: 62.12 kB / 3.463 GB, free: 101 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/9.319, allocations: 87.56 kB / 3.463 GB, free: 101 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/9.321, allocations: 0.799 MB / 3.464 GB, free: 101 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/9.321, allocations: 2.781 kB / 3.464 GB, free: 101 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/9.321, allocations: 30.41 kB / 3.464 GB, free: 101 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/9.321, allocations: 30.75 kB / 3.464 GB, free: 101 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/9.323, allocations: 0.7067 MB / 3.465 GB, free: 101 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.005935/9.329, allocations: 3.664 MB / 3.469 GB, free: 99.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/9.33, allocations: 1.06 MB / 3.47 GB, free: 98.78 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/9.33, allocations: 345.6 kB / 3.47 GB, free: 98.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006143/9.331, allocations: 400.1 kB / 3.47 GB, free: 98.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/9.331, allocations: 43.16 kB / 3.47 GB, free: 98.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 4.529e-06/9.331, allocations: 0 / 3.47 GB, free: 98.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001647/9.333, allocations: 0.6757 MB / 3.471 GB, free: 98.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/9.333, allocations: 55.03 kB / 3.471 GB, free: 98.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/9.334, allocations: 0.7104 MB / 3.472 GB, free: 98.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.502e-05/9.334, allocations: 36.67 kB / 3.472 GB, free: 98.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/9.335, allocations: 488.9 kB / 3.472 GB, free: 97.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/9.335, allocations: 212.6 kB / 3.472 GB, free: 97.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/9.335, allocations: 13.19 kB / 3.472 GB, free: 97.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.284e-05/9.335, allocations: 331 kB / 3.473 GB, free: 97.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/9.335, allocations: 227.7 kB / 3.473 GB, free: 97.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/9.336, allocations: 378.4 kB / 3.473 GB, free: 97.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/9.336, allocations: 287.5 kB / 3.474 GB, free: 97.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/9.336, allocations: 0 / 3.474 GB, free: 97.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001186/9.338, allocations: 0.6825 MB / 3.474 GB, free: 97.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001582/9.338, allocations: 457.1 kB / 3.475 GB, free: 96.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/9.338, allocations: 3.531 kB / 3.475 GB, free: 96.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/9.338, allocations: 6.531 kB / 3.475 GB, free: 96.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/9.338, allocations: 130.1 kB / 3.475 GB, free: 96.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/9.338, allocations: 11.52 kB / 3.475 GB, free: 96.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/9.34, allocations: 125.2 kB / 3.475 GB, free: 96.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/9.34, allocations: 29.56 kB / 3.475 GB, free: 96.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/9.34, allocations: 3.906 kB / 3.475 GB, free: 96.64 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008918/9.341, allocations: 0.5624 MB / 3.476 GB, free: 96.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/9.341, allocations: 3.938 kB / 3.476 GB, free: 96.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/9.341, allocations: 11.77 kB / 3.476 GB, free: 96.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/9.341, allocations: 130.2 kB / 3.476 GB, free: 96.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/9.341, allocations: 7.031 kB / 3.476 GB, free: 96.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/9.342, allocations: 131.2 kB / 3.476 GB, free: 96.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.096e-05/9.343, allocations: 27.67 kB / 3.476 GB, free: 96.57 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.0001863/9.343, allocations: 140.4 kB / 3.476 GB, free: 96.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/9.343, allocations: 101.1 kB / 3.476 GB, free: 96.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/9.344, allocations: 0.7297 MB / 3.477 GB, free: 96.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/9.345, allocations: 10.83 kB / 3.477 GB, free: 96.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/9.345, allocations: 0 / 3.477 GB, free: 96.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008521/9.345, allocations: 0.878 MB / 3.478 GB, free: 95.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/9.349, allocations: 2.177 MB / 3.48 GB, free: 95.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/9.349, allocations: 3.562 kB / 3.48 GB, free: 95.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006927/9.35, allocations: 158.2 kB / 3.48 GB, free: 95.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.539e-05/9.35, allocations: 6.844 kB / 3.48 GB, free: 95.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.409e-05/9.35, allocations: 16.25 kB / 3.48 GB, free: 95.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/9.35, allocations: 15.39 kB / 3.48 GB, free: 95.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/9.35, allocations: 3.812 kB / 3.48 GB, free: 95.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/9.352, allocations: 1.325 MB / 3.481 GB, free: 94.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007013/9.353, allocations: 262.6 kB / 3.482 GB, free: 94.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/9.353, allocations: 17.42 kB / 3.482 GB, free: 94.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/9.354, allocations: 136.1 kB / 3.482 GB, free: 94.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/9.354, allocations: 50.27 kB / 3.482 GB, free: 94.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-05/9.354, allocations: 21.97 kB / 3.482 GB, free: 94.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001176/9.356, allocations: 0.5613 MB / 3.482 GB, free: 94.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/9.356, allocations: 2.188 kB / 3.482 GB, free: 94.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004034/9.36, allocations: 0.7716 MB / 3.483 GB, free: 94.33 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.008065/9.368, allocations: 4.973 MB / 3.488 GB, free: 91.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00205/9.37, allocations: 0.9048 MB / 3.489 GB, free: 91.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/9.37, allocations: 1.562 kB / 3.489 GB, free: 91.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005441/9.37, allocations: 318.8 kB / 3.489 GB, free: 91.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004006/9.374, allocations: 0.6732 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.004989/9.379, allocations: 2.006 MB / 3.492 GB, free: 90.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007852/9.38, allocations: 1.152 MB / 3.493 GB, free: 89.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001781/9.382, allocations: 379.1 kB / 3.493 GB, free: 89.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005703/9.383, allocations: 395.9 kB / 3.494 GB, free: 89.04 MB / 0.698 GB Notification: Performance of SimCode: time 1.383e-06/9.383, allocations: 0 / 3.494 GB, free: 89.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/9.501, allocations: 70.82 MB / 3.563 GB, free: 25.89 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/9.501, allocations: 189.7 kB / 3.563 GB, free: 25.67 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.877/14.38, allocations: 0 / 3.563 GB, free: 25.67 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)