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) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008239/0.000824, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005063/0.005063, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6838/0.6838, allocations: 132.3 MB / 423.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003613, allocations: 12.53 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3265, allocations: 81.56 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.2078/0.5344, allocations: 234.5 MB / 0.8128 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.273/0.8074, allocations: 7.206 MB / 0.8198 GB, free: 19.99 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.8088, allocations: 45.44 kB / 0.8199 GB, free: 19.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.8101, allocations: 0.5782 MB / 0.8204 GB, free: 19.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.8138, allocations: 1.952 MB / 0.8223 GB, free: 19.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003534/0.8173, allocations: 1.871 MB / 0.8242 GB, free: 19.93 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003605/0.821, allocations: 4.425 MB / 0.8285 GB, free: 19.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.822, allocations: 0.9109 MB / 0.8294 GB, free: 19.84 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.8245, allocations: 1.567 MB / 0.8309 GB, free: 19.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.8258, allocations: 0.9617 MB / 0.8318 GB, free: 19.81 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.8259, allocations: 50.28 kB / 0.8319 GB, free: 19.81 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/0.8297, allocations: 2.825 MB / 0.8347 GB, free: 19.79 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.83, allocations: 382.6 kB / 0.835 GB, free: 19.79 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005923/0.8306, allocations: 0.6577 MB / 0.8357 GB, free: 19.76 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.8331, allocations: 2.737 MB / 0.8383 GB, free: 19.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.8331, allocations: 0 / 0.8383 GB, free: 19.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8331, allocations: 3.469 kB / 0.8383 GB, free: 19.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.8331, allocations: 0 / 0.8383 GB, free: 19.61 MB / 0.6387 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.001776/0.8349, allocations: 1.473 MB / 0.8398 GB, free: 18.74 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.835, allocations: 10.19 kB / 0.8398 GB, free: 18.74 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.8351, allocations: 133.7 kB / 0.8399 GB, free: 18.7 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/0.8373, allocations: 425 kB / 0.8403 GB, free: 18.62 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.8383, allocations: 0.9637 MB / 0.8413 GB, free: 18.27 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.8384, allocations: 62.09 kB / 0.8413 GB, free: 18.27 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.8385, allocations: 87.47 kB / 0.8414 GB, free: 18.27 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.8396, allocations: 0.8756 MB / 0.8423 GB, free: 18.21 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.8397, allocations: 0 / 0.8423 GB, free: 18.21 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-05/0.8397, allocations: 28.56 kB / 0.8423 GB, free: 18.21 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.8398, allocations: 33.78 kB / 0.8423 GB, free: 18.2 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.841, allocations: 0.8244 MB / 0.8431 GB, free: 18.2 MB / 0.6387 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.003112/0.8441, allocations: 3.637 MB / 0.8467 GB, free: 16.58 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.8452, allocations: 1.109 MB / 0.8478 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005034/0.8457, allocations: 375.6 kB / 0.8481 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005235/0.8463, allocations: 420.5 kB / 0.8485 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.8463, allocations: 48.5 kB / 0.8486 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 1.623e-06/0.8463, allocations: 0 / 0.8486 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.001684/0.848, allocations: 0.9962 MB / 0.8495 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.848, allocations: 57.94 kB / 0.8496 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.8488, allocations: 0.8369 MB / 0.8504 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.8489, allocations: 42.02 kB / 0.8504 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.8491, allocations: 480.5 kB / 0.8509 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.8492, allocations: 212.1 kB / 0.8511 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.8493, allocations: 53.61 kB / 0.8512 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.8494, allocations: 333.2 kB / 0.8515 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/0.8498, allocations: 253.8 kB / 0.8517 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.8502, allocations: 387.9 kB / 0.8521 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/0.8511, allocations: 0.611 MB / 0.8527 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8511, allocations: 0 / 0.8527 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001026/0.8521, allocations: 0.7548 MB / 0.8534 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.8522, allocations: 128.4 kB / 0.8535 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8522, allocations: 0 / 0.8535 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.8522, allocations: 5.062 kB / 0.8535 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.8527, allocations: 126.5 kB / 0.8537 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.8527, allocations: 6.406 kB / 0.8537 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/0.8535, allocations: 131.7 kB / 0.8538 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.8535, allocations: 21.95 kB / 0.8538 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.618e-06/0.8535, allocations: 2.938 kB / 0.8538 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009238/0.8545, allocations: 0.6303 MB / 0.8544 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.8545, allocations: 0 / 0.8544 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.646e-06/0.8545, allocations: 8.188 kB / 0.8544 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.8549, allocations: 131.2 kB / 0.8546 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.8549, allocations: 6.812 kB / 0.8546 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/0.8556, allocations: 120.7 kB / 0.8547 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.8557, allocations: 23.78 kB / 0.8547 GB, free: 14.08 MB / 0.6387 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.0002868/0.856, allocations: 375.5 kB / 0.8551 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.8561, allocations: 99.97 kB / 0.8552 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.8572, allocations: 0.7714 MB / 0.8559 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.8572, allocations: 10.38 kB / 0.8559 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.8573, allocations: 1.781 kB / 0.8559 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008823/0.8581, allocations: 0.9273 MB / 0.8568 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.8606, allocations: 2.26 MB / 0.859 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.8606, allocations: 2.906 kB / 0.859 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.8611, allocations: 138.6 kB / 0.8592 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.8612, allocations: 6.984 kB / 0.8592 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.8612, allocations: 23.05 kB / 0.8592 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.8612, allocations: 12.72 kB / 0.8592 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8612, allocations: 6.531 kB / 0.8592 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.8627, allocations: 1.291 MB / 0.8605 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.8629, allocations: 260.8 kB / 0.8607 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8631, allocations: 17.41 kB / 0.8608 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006956/0.8638, allocations: 111.2 kB / 0.8609 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.8639, allocations: 43.58 kB / 0.8609 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.8639, allocations: 23.94 kB / 0.8609 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00054/0.8644, allocations: 0.582 MB / 0.8615 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8644, allocations: 0 / 0.8615 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009337/0.8654, allocations: 0.5375 MB / 0.862 GB, free: 11.95 MB / 0.6387 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.001901/0.8673, allocations: 1.979 MB / 0.864 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.8687, allocations: 0.9679 MB / 0.8649 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8687, allocations: 3.312 kB / 0.8649 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.8692, allocations: 354 kB / 0.8652 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/0.8722, allocations: 0.6147 MB / 0.8658 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009437/0.8816, allocations: 8.505 MB / 0.8741 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.8821, allocations: 1.125 MB / 0.8752 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008832/0.883, allocations: 301.1 kB / 0.8755 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.8834, allocations: 416.6 kB / 0.8759 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.8834, allocations: 0 / 0.8759 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6457/1.529, allocations: 28.17 MB / 0.9034 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002879/1.529, allocations: 232.3 kB / 0.9037 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.488/6.017, allocations: 0 / 0.9037 GB, free: 3.152 MB / 0.6544 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/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)