Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: translateModel(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u") translateModel(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001052/0.001052, allocations: 101.8 kB / 16.41 MB, free: 6.465 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.001031/0.001031, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7825/0.7825, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.88 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1589, allocations: 80.2 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.5485/0.7074, allocations: 166.1 MB / 0.8225 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005346/0.7128, allocations: 5.699 MB / 0.8281 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.7131, allocations: 9.125 kB / 0.8281 GB, free: 2.074 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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/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.0004265/0.7136, allocations: 96.75 kB / 0.8282 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.7138, allocations: 55.25 kB / 0.8282 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.7139, allocations: 37.66 kB / 0.8283 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.7142, allocations: 215.9 kB / 0.8285 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.7144, allocations: 89.44 kB / 0.8286 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.7146, allocations: 105.3 kB / 0.8287 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.7148, allocations: 72.23 kB / 0.8287 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.7148, allocations: 10.69 kB / 0.8287 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.842e-05/0.7148, allocations: 9.844 kB / 0.8288 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.7149, allocations: 31.39 kB / 0.8288 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.815e-05/0.715, allocations: 73.84 kB / 0.8289 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.7152, allocations: 156.6 kB / 0.829 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7152, allocations: 0 / 0.829 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7152, allocations: 2.812 kB / 0.829 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.7152, allocations: 0 / 0.829 GB, free: 1.457 MB / 0.5919 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.0005821/0.7158, allocations: 447.4 kB / 0.8294 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.7158, allocations: 10.69 kB / 0.8294 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.7159, allocations: 19.78 kB / 0.8295 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.7162, allocations: 243.1 kB / 0.8297 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.7162, allocations: 13.86 kB / 0.8297 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.7162, allocations: 11.34 kB / 0.8297 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.7164, allocations: 169.6 kB / 0.8299 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7165, allocations: 6.438 kB / 0.8299 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.7165, allocations: 4 kB / 0.8299 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.7165, allocations: 5.375 kB / 0.8299 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.7166, allocations: 76.58 kB / 0.83 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009285/0.7176, allocations: 1.142 MB / 0.8311 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.703e-05/0.7177, allocations: 175.7 kB / 0.8312 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.7177, allocations: 88.08 kB / 0.8313 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.7177, allocations: 75.28 kB / 0.8314 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.7178, allocations: 109.8 kB / 0.8315 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.7178, allocations: 2.406 kB / 0.8315 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.756e-05/0.7179, allocations: 44.89 kB / 0.8316 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/0.718, allocations: 182.1 kB / 0.8317 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.7183, allocations: 248.1 kB / 0.832 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.7183, allocations: 25.7 kB / 0.832 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.7185, allocations: 137.9 kB / 0.8321 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.7185, allocations: 0 / 0.8321 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.7185, allocations: 25.25 kB / 0.8321 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.7187, allocations: 324.8 kB / 0.8325 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.304e-05/0.7187, allocations: 13.39 kB / 0.8325 GB, free: 14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.7188, allocations: 69.27 kB / 0.8325 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.884e-05/0.7188, allocations: 50.55 kB / 0.8326 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7188, allocations: 0 / 0.8326 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001658/0.719, allocations: 97.83 kB / 0.8327 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.719, allocations: 4.969 kB / 0.8327 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.719, allocations: 0 / 0.8327 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.719, allocations: 2.594 kB / 0.8327 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.7191, allocations: 11.12 kB / 0.8327 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.7191, allocations: 3.938 kB / 0.8327 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.7192, allocations: 15.22 kB / 0.8327 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.7192, allocations: 2.688 kB / 0.8327 GB, free: 13.79 MB / 0.6075 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.0001253/0.7194, allocations: 207 kB / 0.8329 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.7194, allocations: 120.5 kB / 0.833 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.7195, allocations: 125.3 kB / 0.8331 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.029e-05/0.7196, allocations: 180.3 kB / 0.8333 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.863e-05/0.7196, allocations: 190.4 kB / 0.8335 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.928e-05/0.7197, allocations: 180.3 kB / 0.8337 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.72, allocations: 457.7 kB / 0.8341 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.976e-05/0.72, allocations: 104.9 kB / 0.8342 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.7201, allocations: 101 kB / 0.8343 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.439e-05/0.7201, allocations: 182.6 kB / 0.8345 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.672e-05/0.7202, allocations: 180.3 kB / 0.8347 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.672e-05/0.7203, allocations: 178.7 kB / 0.8348 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-05/0.7203, allocations: 188.2 kB / 0.835 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.7205, allocations: 327.7 kB / 0.8353 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-05/0.7206, allocations: 192.9 kB / 0.8355 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.447e-05/0.7207, allocations: 179 kB / 0.8357 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.7208, allocations: 108.9 kB / 0.8358 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.7209, allocations: 186.3 kB / 0.8359 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.721, allocations: 104.9 kB / 0.836 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001681/0.7212, allocations: 184.4 kB / 0.8362 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7212, allocations: 0 / 0.8362 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002696/0.7215, allocations: 24.44 kB / 0.8362 GB, free: 10.09 MB / 0.6075 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.0001301/0.7216, allocations: 166.7 kB / 0.8364 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.7217, allocations: 32.11 kB / 0.8364 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7217, allocations: 3.938 kB / 0.8364 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.7217, allocations: 3.156 kB / 0.8364 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007274/0.7225, allocations: 0.5059 MB / 0.8369 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.7229, allocations: 356.6 kB / 0.8373 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.7232, allocations: 0.7141 MB / 0.838 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.7233, allocations: 14.91 kB / 0.838 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.7233, allocations: 0 / 0.838 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of Templates: time 0.00346/0.7267, allocations: 2.021 MB / 0.84 GB, free: 7.363 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & ./IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)