Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.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: translateModel(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u") translateModel(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002028/0.002028, 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.003031/0.00303, allocations: 192.9 kB / 16.13 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.63/1.63, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.104/1.104, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.16 kB / 0.5047 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2116, allocations: 80.92 MB / 0.5837 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.6126/0.8243, allocations: 163.9 MB / 0.7437 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005668/0.83, allocations: 5.702 MB / 0.7493 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.8303, allocations: 8 kB / 0.7493 GB, free: 1.871 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/FlowSplitter_u.mo:47:3-49:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/FlowSplitter_u.mo:50:3-51:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004646/0.8307, allocations: 77.12 kB / 0.7494 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.831, allocations: 52.81 kB / 0.7494 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.8311, allocations: 37.7 kB / 0.7495 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.8314, allocations: 261.2 kB / 0.7497 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.8317, allocations: 84.64 kB / 0.7498 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.8319, allocations: 86.55 kB / 0.7499 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.832, allocations: 79.09 kB / 0.75 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.832, allocations: 7.781 kB / 0.75 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.767e-05/0.8321, allocations: 7.969 kB / 0.75 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.8321, allocations: 30.7 kB / 0.75 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.948e-05/0.8322, allocations: 69.33 kB / 0.7501 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.8324, allocations: 155.5 kB / 0.7502 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8324, allocations: 0 / 0.7502 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8324, allocations: 0 / 0.7502 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.8324, allocations: 2.688 kB / 0.7502 GB, free: 1.273 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0005979/0.833, allocations: 435.7 kB / 0.7506 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.833, allocations: 7.781 kB / 0.7506 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.8331, allocations: 25.83 kB / 0.7507 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.8335, allocations: 248.8 kB / 0.7509 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.8335, allocations: 8.609 kB / 0.7509 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.8335, allocations: 12.25 kB / 0.7509 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.8338, allocations: 175 kB / 0.7511 GB, free: 424 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.8338, allocations: 0 / 0.7511 GB, free: 424 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.8338, allocations: 6.094 kB / 0.7511 GB, free: 420 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.8338, allocations: 5.25 kB / 0.7511 GB, free: 420 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.8339, allocations: 67.5 kB / 0.7512 GB, free: 388 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008921/0.8348, allocations: 1.154 MB / 0.7523 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.8349, allocations: 171.8 kB / 0.7525 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.835, allocations: 88.02 kB / 0.7525 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.835, allocations: 79.27 kB / 0.7526 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.835, allocations: 111.7 kB / 0.7527 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.835, allocations: 0 / 0.7527 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.048e-05/0.8351, allocations: 45.27 kB / 0.7528 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.8352, allocations: 184.6 kB / 0.7529 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.8355, allocations: 244.1 kB / 0.7532 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.8356, allocations: 32.27 kB / 0.7532 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.8357, allocations: 128.1 kB / 0.7533 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.8357, allocations: 0 / 0.7533 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.8357, allocations: 21.78 kB / 0.7533 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.8359, allocations: 329.3 kB / 0.7537 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.8359, allocations: 4.938 kB / 0.7537 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.973e-05/0.836, allocations: 76.56 kB / 0.7537 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/0.8361, allocations: 50.88 kB / 0.7538 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8361, allocations: 0 / 0.7538 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000144/0.8362, allocations: 89.16 kB / 0.7539 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.8362, allocations: 4.719 kB / 0.7539 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.8362, allocations: 0 / 0.7539 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.8363, allocations: 3.375 kB / 0.7539 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.8363, allocations: 11.14 kB / 0.7539 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.8363, allocations: 6.562 kB / 0.7539 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.8364, allocations: 19.25 kB / 0.7539 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.8364, allocations: 4.438 kB / 0.7539 GB, free: 13.61 MB / 0.5762 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 (5): * Single equations (assignments): 5 * 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.000127/0.8366, allocations: 203.8 kB / 0.7541 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.8367, allocations: 125 kB / 0.7542 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.107e-05/0.8367, allocations: 122.6 kB / 0.7543 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.358e-05/0.8368, allocations: 186.7 kB / 0.7545 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.836e-05/0.8369, allocations: 176.3 kB / 0.7547 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.309e-05/0.837, allocations: 179.1 kB / 0.7549 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.8372, allocations: 467.2 kB / 0.7553 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/0.8373, allocations: 101 kB / 0.7554 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.8373, allocations: 111.7 kB / 0.7555 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.818e-05/0.8374, allocations: 180.3 kB / 0.7557 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.8375, allocations: 180.2 kB / 0.7559 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.445e-05/0.8375, allocations: 183.2 kB / 0.756 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.369e-05/0.8376, allocations: 180.2 kB / 0.7562 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.8378, allocations: 325.5 kB / 0.7565 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.8379, allocations: 199.2 kB / 0.7567 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.881e-05/0.838, allocations: 182.8 kB / 0.7569 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.8381, allocations: 105 kB / 0.757 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.8382, allocations: 191.2 kB / 0.7572 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.8382, allocations: 101 kB / 0.7573 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001759/0.8384, allocations: 190.9 kB / 0.7574 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.8384, allocations: 0 / 0.7574 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002637/0.8387, allocations: 18.66 kB / 0.7575 GB, free: 9.906 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0001322/0.8388, allocations: 170.5 kB / 0.7576 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.994e-05/0.8389, allocations: 18.62 kB / 0.7576 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8389, allocations: 2.656 kB / 0.7576 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.8389, allocations: 320 / 0.7576 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/0.8396, allocations: 0.5832 MB / 0.7582 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.8401, allocations: 347.2 kB / 0.7585 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.8404, allocations: 0.719 MB / 0.7592 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.703e-05/0.8405, allocations: 22.77 kB / 0.7593 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.8405, allocations: 12.94 kB / 0.7593 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.8405, allocations: 2.125 kB / 0.7593 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of Templates: time 0.004567/0.8451, allocations: 1.851 MB / 0.7611 GB, free: 7.227 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)