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.002081/0.002081, 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 1.376/1.376, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.325/2.325, allocations: 221.5 MB / 395.5 MB, free: 10.84 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.001393/0.001393, allocations: 101.1 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.614e-05, allocations: 4 kB / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7247/0.7248, allocations: 82.3 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.459/7.184, allocations: 1.89 GB / 2.524 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/7.184, allocations: 91.47 kB / 2.524 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.633/11.82, allocations: 0.9188 GB / 3.443 GB, free: 9.965 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/11.82, allocations: 0 / 3.443 GB, free: 9.965 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001964/11.82, allocations: 39.98 kB / 3.443 GB, free: 9.926 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.007435/11.82, allocations: 1.526 MB / 3.444 GB, free: 8.355 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.488e-05/11.82, allocations: 8.031 kB / 3.444 GB, free: 8.348 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00551/11.83, allocations: 425.9 kB / 3.445 GB, free: 7.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/11.84, allocations: 1.072 MB / 3.446 GB, free: 6.816 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/11.84, allocations: 28 kB / 3.446 GB, free: 6.789 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003642/11.84, allocations: 51.94 kB / 3.446 GB, free: 6.738 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002494/11.84, allocations: 0.6795 MB / 3.447 GB, free: 6.059 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/11.84, allocations: 0.6829 MB / 3.447 GB, free: 5.367 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.426e-05/11.84, allocations: 4 kB / 3.447 GB, free: 5.363 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/11.84, allocations: 0 / 3.447 GB, free: 5.363 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.863e-05/11.84, allocations: 26 kB / 3.447 GB, free: 5.34 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.009763/11.85, allocations: 3.491 MB / 3.451 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/11.85, allocations: 1.045 MB / 3.452 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007386/11.85, allocations: 326.5 kB / 3.452 GB, free: 92 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7955/12.65, allocations: 394.2 kB / 3.452 GB, free: 94.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/12.65, allocations: 44.09 kB / 3.452 GB, free: 94.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 4.93e-06/12.65, allocations: 0 / 3.452 GB, free: 94.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.003447/12.65, allocations: 0.7156 MB / 3.453 GB, free: 94.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/12.65, allocations: 58.97 kB / 3.453 GB, free: 94.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/12.66, allocations: 0.5983 MB / 3.454 GB, free: 94.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/12.66, allocations: 30.94 kB / 3.454 GB, free: 94.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006964/12.66, allocations: 483.5 kB / 3.454 GB, free: 93.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/12.66, allocations: 210.9 kB / 3.455 GB, free: 93.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/12.66, allocations: 0 / 3.455 GB, free: 93.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001536/12.66, allocations: 328.2 kB / 3.455 GB, free: 93.58 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007419/12.66, allocations: 221.1 kB / 3.455 GB, free: 93.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008835/12.66, allocations: 357.4 kB / 3.455 GB, free: 93.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/12.66, allocations: 338.5 kB / 3.456 GB, free: 93.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/12.66, allocations: 1.266 kB / 3.456 GB, free: 93.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002785/12.66, allocations: 0.7237 MB / 3.456 GB, free: 93.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/12.66, allocations: 455.8 kB / 3.457 GB, free: 92.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/12.66, allocations: 1.5 kB / 3.457 GB, free: 92.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/12.66, allocations: 3.969 kB / 3.457 GB, free: 92.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/12.66, allocations: 136.9 kB / 3.457 GB, free: 92.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/12.66, allocations: 3.641 kB / 3.457 GB, free: 92.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/12.67, allocations: 110.5 kB / 3.457 GB, free: 92.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/12.67, allocations: 30.22 kB / 3.457 GB, free: 92.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/12.67, allocations: 8.125 kB / 3.457 GB, free: 92.88 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002183/12.67, allocations: 0.5807 MB / 3.458 GB, free: 92.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/12.67, allocations: 1.953 kB / 3.458 GB, free: 92.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/12.67, allocations: 6.781 kB / 3.458 GB, free: 92.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/12.67, allocations: 132.8 kB / 3.458 GB, free: 92.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/12.67, allocations: 3.922 kB / 3.458 GB, free: 92.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/12.67, allocations: 110 kB / 3.458 GB, free: 92.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/12.67, allocations: 21.91 kB / 3.458 GB, free: 92.85 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.0002905/12.67, allocations: 117.7 kB / 3.458 GB, free: 92.75 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002171/12.67, allocations: 0.6699 MB / 3.459 GB, free: 92.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/12.67, allocations: 93.92 kB / 3.459 GB, free: 92.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/12.68, allocations: 0.7408 MB / 3.46 GB, free: 92.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/12.68, allocations: 7.531 kB / 3.46 GB, free: 92.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/12.68, allocations: 0 / 3.46 GB, free: 92.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001932/12.68, allocations: 0.9133 MB / 3.46 GB, free: 92.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005433/12.68, allocations: 2.103 MB / 3.462 GB, free: 91.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/12.68, allocations: 7.516 kB / 3.462 GB, free: 91.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/12.68, allocations: 153.3 kB / 3.463 GB, free: 91.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.03e-05/12.69, allocations: 7.344 kB / 3.463 GB, free: 91.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-05/12.69, allocations: 14.5 kB / 3.463 GB, free: 91.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/12.69, allocations: 7.156 kB / 3.463 GB, free: 91.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/12.69, allocations: 8.25 kB / 3.463 GB, free: 91.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/12.69, allocations: 1.337 MB / 3.464 GB, free: 90.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007718/12.69, allocations: 250.5 kB / 3.464 GB, free: 90.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/12.69, allocations: 3.031 kB / 3.464 GB, free: 90.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/12.69, allocations: 121.4 kB / 3.464 GB, free: 90.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/12.69, allocations: 50.41 kB / 3.464 GB, free: 90.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.087e-05/12.69, allocations: 26.77 kB / 3.464 GB, free: 90.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008623/12.69, allocations: 476.8 kB / 3.465 GB, free: 90.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/12.69, allocations: 0 / 3.465 GB, free: 90.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002784/12.69, allocations: 0.6714 MB / 3.466 GB, free: 90.69 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.0092/12.7, allocations: 5.258 MB / 3.471 GB, free: 88.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002471/12.71, allocations: 0.8652 MB / 3.472 GB, free: 88.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/12.71, allocations: 0 / 3.472 GB, free: 88.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006949/12.71, allocations: 303.1 kB / 3.472 GB, free: 88.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005018/12.71, allocations: 0.6085 MB / 3.472 GB, free: 88.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005618/12.72, allocations: 1.926 MB / 3.474 GB, free: 87.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008957/12.72, allocations: 1.147 MB / 3.475 GB, free: 86.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002341/12.72, allocations: 354.8 kB / 3.476 GB, free: 86.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007337/12.72, allocations: 396.1 kB / 3.476 GB, free: 86.75 MB / 0.698 GB Notification: Performance of SimCode: time 2.936e-06/12.72, allocations: 0 / 3.476 GB, free: 86.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1946/12.92, allocations: 45.13 MB / 3.52 GB, free: 85.76 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/12.92, allocations: 162.8 kB / 3.52 GB, free: 85.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.604/19.52, allocations: 0 / 3.52 GB, free: 85.57 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)