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/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: 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 182.9 kB / 7.464 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5916/0.5916, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.128/1.128, allocations: 221.3 MB / 395 MB, free: 10.19 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008914/0.0008913, allocations: 98.28 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.741e-06/5.751e-06, allocations: 0 / 0.5528 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.293/2.4, allocations: 1.68 GB / 2.313 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001563/2.4, allocations: 83.89 kB / 2.313 GB, free: 7.656 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector 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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward 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/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector 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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$floSpl$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/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector 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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$floSpl$inlet$forward 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/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector 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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$floSpl$outlet$forward 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/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector 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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$floSpl$outlet$forward 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:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[1].forward to inlet.forward. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[2].forward to inlet.forward. Notification: Performance of FrontEnd: time 0.4493/2.849, allocations: 159 MB / 2.468 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.517e-05/2.849, allocations: 8 kB / 2.468 GB, free: 131.4 MB / 0.6823 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.0002473/2.85, allocations: 394.3 kB / 2.469 GB, free: 131 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/2.85, allocations: 12.02 kB / 2.469 GB, free: 131 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/2.85, allocations: 19.72 kB / 2.469 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/2.85, allocations: 247.9 kB / 2.469 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/2.85, allocations: 8 kB / 2.469 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/2.85, allocations: 4 kB / 2.469 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.322e-05/2.85, allocations: 52.45 kB / 2.469 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/2.85, allocations: 165.7 kB / 2.469 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/2.85, allocations: 0 / 2.469 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/2.85, allocations: 0 / 2.469 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/2.85, allocations: 4 kB / 2.469 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/2.851, allocations: 1.122 MB / 2.47 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.474e-05/2.851, allocations: 165.1 kB / 2.471 GB, free: 129 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/2.851, allocations: 80.14 kB / 2.471 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/2.851, allocations: 75.28 kB / 2.471 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/2.851, allocations: 121.9 kB / 2.471 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.733e-06/2.851, allocations: 4 kB / 2.471 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.43e-05/2.851, allocations: 37.55 kB / 2.471 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/2.851, allocations: 102.8 kB / 2.471 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/2.851, allocations: 157.5 kB / 2.471 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/2.851, allocations: 25.7 kB / 2.471 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/2.851, allocations: 131.5 kB / 2.471 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-06/2.851, allocations: 0 / 2.471 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/2.851, allocations: 0 / 2.471 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.796e-05/2.851, allocations: 322.8 kB / 2.472 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/2.851, allocations: 11.98 kB / 2.472 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.983e-05/2.851, allocations: 67.67 kB / 2.472 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.594e-05/2.851, allocations: 19.98 kB / 2.472 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/2.851, allocations: 0 / 2.472 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00011/2.851, allocations: 69.44 kB / 2.472 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/2.851, allocations: 11.94 kB / 2.472 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/2.851, allocations: 0 / 2.472 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/2.851, allocations: 0 / 2.472 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/2.851, allocations: 15.92 kB / 2.472 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/2.851, allocations: 4.156 kB / 2.472 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/2.852, allocations: 7.938 kB / 2.472 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/2.852, allocations: 4 kB / 2.472 GB, free: 127.7 MB / 0.6823 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 (5): * Single equations (assignments): 5 * 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 4.552e-05/2.852, allocations: 184.2 kB / 2.472 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/2.852, allocations: 108.9 kB / 2.472 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/2.852, allocations: 121.4 kB / 2.472 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/2.852, allocations: 176.3 kB / 2.472 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/2.852, allocations: 184.7 kB / 2.472 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/2.852, allocations: 184.2 kB / 2.473 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/2.852, allocations: 429.6 kB / 2.473 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/2.852, allocations: 101 kB / 2.473 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/2.852, allocations: 104.9 kB / 2.473 GB, free: 126 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-05/2.852, allocations: 182 kB / 2.473 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/2.852, allocations: 176.3 kB / 2.474 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.745e-05/2.852, allocations: 188.2 kB / 2.474 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.798e-05/2.852, allocations: 176.3 kB / 2.474 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.357e-05/2.852, allocations: 319.6 kB / 2.474 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/2.852, allocations: 190 kB / 2.474 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/2.852, allocations: 176.3 kB / 2.475 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/2.852, allocations: 108.9 kB / 2.475 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/2.852, allocations: 184.4 kB / 2.475 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/2.852, allocations: 105 kB / 2.475 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.129e-05/2.852, allocations: 132.2 kB / 2.475 GB, free: 124 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003006/2.853, allocations: 79.83 kB / 2.475 GB, free: 123.9 MB / 0.6823 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 () * 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 (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.0007956/2.853, allocations: 1.177 MB / 2.476 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.636e-05/2.853, allocations: 16.25 kB / 2.476 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/2.853, allocations: 4 kB / 2.476 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/2.853, allocations: 0 / 2.476 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/2.854, allocations: 0.534 MB / 2.477 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/2.854, allocations: 218.7 kB / 2.477 GB, free: 122 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/2.854, allocations: 0.7349 MB / 2.478 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/2.854, allocations: 4 kB / 2.478 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.008438/2.863, allocations: 6.645 MB / 2.484 GB, free: 114.6 MB / 0.6823 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)