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.001301/0.001302, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8131/0.8131, allocations: 133.6 MB / 141.6 MB, free: 2.949 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.5 MB / 395.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000932/0.000932, allocations: 97.92 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.33e-05, allocations: 0 / 0.5535 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.4913, allocations: 82.31 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.452/4.944, allocations: 1.89 GB / 2.524 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/4.944, allocations: 83.95 kB / 2.524 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.236/8.18, allocations: 0.9188 GB / 3.443 GB, free: 9.383 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.232e-06/8.18, allocations: 0 / 3.443 GB, free: 9.383 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000124/8.18, allocations: 40.17 kB / 3.443 GB, free: 9.344 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.003929/8.184, allocations: 1.53 MB / 3.444 GB, free: 7.773 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/8.184, allocations: 8.031 kB / 3.444 GB, free: 7.766 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/8.187, allocations: 418 kB / 3.445 GB, free: 7.355 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/8.19, allocations: 1.081 MB / 3.446 GB, free: 6.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/8.19, allocations: 28 kB / 3.446 GB, free: 6.203 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/8.19, allocations: 48 kB / 3.446 GB, free: 6.156 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001333/8.191, allocations: 0.6795 MB / 3.447 GB, free: 5.477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/8.192, allocations: 0.6751 MB / 3.447 GB, free: 4.793 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/8.192, allocations: 8 kB / 3.447 GB, free: 4.785 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/8.193, allocations: 3.984 kB / 3.447 GB, free: 4.781 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/8.193, allocations: 26 kB / 3.447 GB, free: 4.758 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.005643/8.198, allocations: 3.503 MB / 3.451 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5611/8.759, allocations: 1.034 MB / 3.452 GB, free: 93.81 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007823/8.76, allocations: 326.9 kB / 3.452 GB, free: 93.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006712/8.761, allocations: 401.5 kB / 3.452 GB, free: 93.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/8.761, allocations: 45.05 kB / 3.452 GB, free: 93.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.955e-06/8.761, allocations: 0 / 3.452 GB, free: 93.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002144/8.763, allocations: 0.7142 MB / 3.453 GB, free: 93.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/8.763, allocations: 62.5 kB / 3.453 GB, free: 93.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/8.764, allocations: 0.5964 MB / 3.454 GB, free: 93.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/8.764, allocations: 27.05 kB / 3.454 GB, free: 93.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/8.765, allocations: 486.5 kB / 3.454 GB, free: 93.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/8.765, allocations: 210.8 kB / 3.455 GB, free: 92.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/8.765, allocations: 0.7188 kB / 3.455 GB, free: 92.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/8.765, allocations: 330.1 kB / 3.455 GB, free: 92.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/8.765, allocations: 219.7 kB / 3.455 GB, free: 92.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/8.766, allocations: 360.6 kB / 3.455 GB, free: 92.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/8.767, allocations: 336.4 kB / 3.456 GB, free: 92.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/8.767, allocations: 3.969 kB / 3.456 GB, free: 92.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001534/8.768, allocations: 0.7194 MB / 3.456 GB, free: 92.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/8.768, allocations: 453.9 kB / 3.457 GB, free: 91.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/8.768, allocations: 4.859 kB / 3.457 GB, free: 91.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/8.768, allocations: 3.781 kB / 3.457 GB, free: 91.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007065/8.769, allocations: 139.3 kB / 3.457 GB, free: 91.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/8.769, allocations: 5.844 kB / 3.457 GB, free: 91.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/8.77, allocations: 110 kB / 3.457 GB, free: 91.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/8.77, allocations: 23.53 kB / 3.457 GB, free: 91.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/8.77, allocations: 4.281 kB / 3.457 GB, free: 91.89 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001351/8.772, allocations: 0.5857 MB / 3.458 GB, free: 91.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/8.772, allocations: 1.594 kB / 3.458 GB, free: 91.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/8.772, allocations: 3.75 kB / 3.458 GB, free: 91.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/8.772, allocations: 137.7 kB / 3.458 GB, free: 91.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/8.772, allocations: 4.094 kB / 3.458 GB, free: 91.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009493/8.773, allocations: 114.2 kB / 3.458 GB, free: 91.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/8.773, allocations: 28.53 kB / 3.458 GB, free: 91.87 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.0001827/8.774, allocations: 116 kB / 3.458 GB, free: 91.76 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001247/8.775, allocations: 0.661 MB / 3.459 GB, free: 91.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/8.775, allocations: 97.5 kB / 3.459 GB, free: 91.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/8.776, allocations: 0.7378 MB / 3.46 GB, free: 91.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/8.776, allocations: 9.062 kB / 3.46 GB, free: 91.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/8.776, allocations: 0.7969 kB / 3.46 GB, free: 91.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/8.778, allocations: 0.9162 MB / 3.46 GB, free: 91.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/8.781, allocations: 2.097 MB / 3.462 GB, free: 90.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/8.781, allocations: 3.812 kB / 3.462 GB, free: 90.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006653/8.782, allocations: 151 kB / 3.463 GB, free: 90.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/8.782, allocations: 10.56 kB / 3.463 GB, free: 90.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/8.782, allocations: 10.41 kB / 3.463 GB, free: 90.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.918e-06/8.782, allocations: 10.36 kB / 3.463 GB, free: 90.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/8.782, allocations: 5.281 kB / 3.463 GB, free: 90.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/8.783, allocations: 1.331 MB / 3.464 GB, free: 89.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/8.784, allocations: 250.8 kB / 3.464 GB, free: 89.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/8.784, allocations: 14.12 kB / 3.464 GB, free: 89.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009181/8.785, allocations: 114.2 kB / 3.464 GB, free: 89.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/8.785, allocations: 54.38 kB / 3.464 GB, free: 89.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/8.785, allocations: 26.22 kB / 3.464 GB, free: 89.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005527/8.785, allocations: 473.2 kB / 3.465 GB, free: 89.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.72e-07/8.785, allocations: 0 / 3.465 GB, free: 89.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001858/8.787, allocations: 0.6826 MB / 3.466 GB, free: 89.71 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.005059/8.792, allocations: 5.25 MB / 3.471 GB, free: 87.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001373/8.794, allocations: 0.8634 MB / 3.472 GB, free: 87.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/8.794, allocations: 0 / 3.472 GB, free: 87.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/8.794, allocations: 302.2 kB / 3.472 GB, free: 87.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/8.797, allocations: 0.6066 MB / 3.472 GB, free: 87.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/8.801, allocations: 1.93 MB / 3.474 GB, free: 86.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/8.802, allocations: 1.151 MB / 3.475 GB, free: 85.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001353/8.803, allocations: 347 kB / 3.476 GB, free: 85.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/8.804, allocations: 399.8 kB / 3.476 GB, free: 85.77 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/8.804, allocations: 0 / 3.476 GB, free: 85.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08406/8.888, allocations: 45.12 MB / 3.52 GB, free: 84.77 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/8.888, allocations: 168.5 kB / 3.52 GB, free: 84.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.802/12.69, allocations: 0 / 3.52 GB, free: 84.57 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)