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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001215/0.001215, allocations: 194.2 kB / 16.14 MB, free: 6.656 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.212/1.212, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8273/0.8273, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 56.5 kB / 0.5048 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1297, allocations: 80.93 MB / 0.5838 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.4237/0.5534, allocations: 237.7 MB / 0.8159 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.5643, allocations: 7.284 MB / 0.8231 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.5659, allocations: 47.69 kB / 0.8231 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.5678, allocations: 0.575 MB / 0.8237 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00491/0.5727, allocations: 1.961 MB / 0.8256 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.5772, allocations: 1.851 MB / 0.8274 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004527/0.5818, allocations: 4.435 MB / 0.8317 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.5834, allocations: 0.9513 MB / 0.8326 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003273/0.5867, allocations: 1.591 MB / 0.8342 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.5886, allocations: 0.9871 MB / 0.8352 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.5889, allocations: 64 kB / 0.8352 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004666/0.5936, allocations: 2.841 MB / 0.838 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005232/0.5941, allocations: 410.6 kB / 0.8384 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.5952, allocations: 0.6491 MB / 0.839 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004338/0.5995, allocations: 2.781 MB / 0.8417 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5995, allocations: 0 / 0.8417 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of FrontEnd: time 8.12e-07/0.5995, allocations: 0 / 0.8417 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.03e-05/0.5996, allocations: 0 / 0.8417 GB, free: 4.973 MB / 0.6544 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.003318/0.6029, allocations: 1.707 MB / 0.8434 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.603, allocations: 12.03 kB / 0.8434 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.6032, allocations: 126.8 kB / 0.8435 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.606, allocations: 418 kB / 0.8439 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.6076, allocations: 0.9677 MB / 0.8449 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.6077, allocations: 62 kB / 0.8449 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.6078, allocations: 80 kB / 0.845 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.6094, allocations: 0.874 MB / 0.8459 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.6094, allocations: 0 / 0.8459 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.6095, allocations: 32 kB / 0.8459 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.6096, allocations: 30 kB / 0.8459 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.6111, allocations: 0.8042 MB / 0.8467 GB, free: 15.76 MB / 0.67 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.004806/0.6159, allocations: 3.627 MB / 0.8503 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.6173, allocations: 1.096 MB / 0.8513 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005689/0.6179, allocations: 371.2 kB / 0.8517 GB, free: 10.26 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006784/0.6186, allocations: 404.8 kB / 0.8521 GB, free: 9.793 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.6187, allocations: 39.12 kB / 0.8521 GB, free: 9.746 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.825e-06/0.6187, allocations: 0 / 0.8521 GB, free: 9.746 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001993/0.6207, allocations: 0.9583 MB / 0.853 GB, free: 8.785 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.6207, allocations: 59.97 kB / 0.8531 GB, free: 8.715 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.6218, allocations: 0.84 MB / 0.8539 GB, free: 7.852 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/0.6218, allocations: 41.7 kB / 0.854 GB, free: 7.805 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.6222, allocations: 480.1 kB / 0.8544 GB, free: 7.328 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.6224, allocations: 220.9 kB / 0.8546 GB, free: 7.109 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.6225, allocations: 114.1 kB / 0.8547 GB, free: 6.992 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6227, allocations: 326 kB / 0.8551 GB, free: 6.668 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.6231, allocations: 255 kB / 0.8553 GB, free: 6.414 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.6237, allocations: 376.2 kB / 0.8557 GB, free: 6.008 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009878/0.6247, allocations: 0.593 MB / 0.8562 GB, free: 5.402 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6247, allocations: 0 / 0.8562 GB, free: 5.402 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001272/0.626, allocations: 0.732 MB / 0.8569 GB, free: 4.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.626, allocations: 11.94 kB / 0.857 GB, free: 4.648 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.6261, allocations: 0 / 0.857 GB, free: 4.648 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6261, allocations: 8 kB / 0.857 GB, free: 4.641 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.6266, allocations: 119.9 kB / 0.8571 GB, free: 4.523 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/0.6267, allocations: 7.938 kB / 0.8571 GB, free: 4.516 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009029/0.6276, allocations: 115.6 kB / 0.8572 GB, free: 4.402 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/0.6277, allocations: 27.98 kB / 0.8572 GB, free: 4.375 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007677/0.6284, allocations: 497 kB / 0.8577 GB, free: 3.887 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005484/0.629, allocations: 364.3 kB / 0.858 GB, free: 3.492 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009697/0.63, allocations: 0.5813 MB / 0.8586 GB, free: 2.898 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.63, allocations: 4 kB / 0.8586 GB, free: 2.895 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0012/0.6312, allocations: 0.7241 MB / 0.8593 GB, free: 2.16 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.6312, allocations: 4 kB / 0.8593 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6312, allocations: 4 kB / 0.8593 GB, free: 2.152 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/0.6312, allocations: 4 kB / 0.8593 GB, free: 2.148 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.6317, allocations: 127.8 kB / 0.8595 GB, free: 2.023 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6317, allocations: 4 kB / 0.8595 GB, free: 2.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008262/0.6326, allocations: 115.6 kB / 0.8596 GB, free: 1.906 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.6326, allocations: 20 kB / 0.8596 GB, free: 1.887 MB / 0.67 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.0001761/0.6328, allocations: 216.1 kB / 0.8598 GB, free: 1.668 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.633, allocations: 98.78 kB / 0.8599 GB, free: 1.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.6342, allocations: 0.7415 MB / 0.8606 GB, free: 0.832 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.6343, allocations: 4 kB / 0.8606 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6343, allocations: 4 kB / 0.8606 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2232/0.8575, allocations: 0.8998 MB / 0.8615 GB, free: 223.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/0.861, allocations: 2.244 MB / 0.8637 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.861, allocations: 3.625 kB / 0.8637 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/0.8616, allocations: 139.1 kB / 0.8638 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.8617, allocations: 11.27 kB / 0.8638 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.8617, allocations: 17.53 kB / 0.8639 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.8617, allocations: 5.969 kB / 0.8639 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.8617, allocations: 11 kB / 0.8639 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.8634, allocations: 1.254 MB / 0.8651 GB, free: 222.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.8638, allocations: 260.2 kB / 0.8653 GB, free: 222.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.8639, allocations: 22.88 kB / 0.8654 GB, free: 222.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008195/0.8648, allocations: 95.75 kB / 0.8655 GB, free: 222.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.957e-05/0.8649, allocations: 52.75 kB / 0.8655 GB, free: 222.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.8649, allocations: 21.44 kB / 0.8655 GB, free: 222.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006372/0.8656, allocations: 0.5886 MB / 0.8661 GB, free: 221.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8656, allocations: 0 / 0.8661 GB, free: 221.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001092/0.8667, allocations: 0.5309 MB / 0.8666 GB, free: 221.9 MB / 0.67 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.001947/0.8686, allocations: 1.939 MB / 0.8685 GB, free: 220.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.8701, allocations: 0.9364 MB / 0.8694 GB, free: 220.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8701, allocations: 2.844 kB / 0.8694 GB, free: 220.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005029/0.8706, allocations: 344.2 kB / 0.8698 GB, free: 220.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/0.8731, allocations: 0.6252 MB / 0.8704 GB, free: 220.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009325/0.8825, allocations: 8.335 MB / 0.8785 GB, free: 215.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.8829, allocations: 1.127 MB / 0.8796 GB, free: 214.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009307/0.8839, allocations: 296.8 kB / 0.8799 GB, free: 214.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/0.8843, allocations: 416.4 kB / 0.8803 GB, free: 214.4 MB / 0.67 GB Notification: Performance of SimCode: time 5.81e-07/0.8843, allocations: 0 / 0.8803 GB, free: 214.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4804/1.365, allocations: 28.44 MB / 0.9081 GB, free: 210.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.365, allocations: 242.2 kB / 0.9083 GB, free: 210.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/4.133, allocations: 0 / 0.9083 GB, free: 210.1 MB / 0.67 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/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)