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: "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",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.001208/0.001208, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 198 kB / 16.54 MB, free: 6.672 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.225/1.225, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8254/0.8254, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 64.73 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1353, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.3926/0.5279, allocations: 166.1 MB / 0.7466 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005463/0.5334, allocations: 5.701 MB / 0.7522 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.5336, allocations: 13.88 kB / 0.7522 GB, free: 15.51 MB / 0.5762 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.0004013/0.534, allocations: 95.7 kB / 0.7523 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.5342, allocations: 50.98 kB / 0.7524 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.5344, allocations: 39.7 kB / 0.7524 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.5347, allocations: 211.3 kB / 0.7526 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.5349, allocations: 105.2 kB / 0.7527 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.5351, allocations: 100.2 kB / 0.7528 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.5352, allocations: 73.27 kB / 0.7529 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.5352, allocations: 10.16 kB / 0.7529 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.601e-05/0.5353, allocations: 10.81 kB / 0.7529 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.5353, allocations: 28.98 kB / 0.7529 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.5354, allocations: 69.89 kB / 0.753 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.5356, allocations: 153.2 kB / 0.7531 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5356, allocations: 2.719 kB / 0.7531 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5356, allocations: 0 / 0.7531 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.5356, allocations: 4 kB / 0.7531 GB, free: 14.89 MB / 0.5762 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.0005371/0.5361, allocations: 439.5 kB / 0.7536 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.5362, allocations: 9.812 kB / 0.7536 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.5362, allocations: 44.28 kB / 0.7536 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.5363, allocations: 19.72 kB / 0.7536 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.5365, allocations: 247.4 kB / 0.7539 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.5366, allocations: 9.297 kB / 0.7539 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.5366, allocations: 12.06 kB / 0.7539 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.5368, allocations: 173 kB / 0.7541 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.5368, allocations: 0 / 0.7541 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.5368, allocations: 6.5 kB / 0.7541 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.5368, allocations: 3.5 kB / 0.7541 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.537, allocations: 74.2 kB / 0.7541 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007836/0.5378, allocations: 1.15 MB / 0.7553 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.014e-05/0.5378, allocations: 171.8 kB / 0.7554 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.5379, allocations: 84.08 kB / 0.7555 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.5379, allocations: 75.28 kB / 0.7556 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.538, allocations: 109.8 kB / 0.7557 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.538, allocations: 2.656 kB / 0.7557 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.863e-05/0.538, allocations: 45.5 kB / 0.7557 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.5381, allocations: 182.1 kB / 0.7559 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.5384, allocations: 247.5 kB / 0.7561 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.5384, allocations: 29.69 kB / 0.7562 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.5385, allocations: 137.8 kB / 0.7563 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.5385, allocations: 0 / 0.7563 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.5385, allocations: 25.47 kB / 0.7563 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5386, allocations: 329.8 kB / 0.7566 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.5387, allocations: 9.188 kB / 0.7566 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-05/0.5387, allocations: 69.75 kB / 0.7567 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.857e-05/0.5388, allocations: 50.16 kB / 0.7568 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5388, allocations: 3.406 kB / 0.7568 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000141/0.5389, allocations: 89.69 kB / 0.7568 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.539, allocations: 12.53 kB / 0.7569 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.539, allocations: 1.844 kB / 0.7569 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.539, allocations: 2.844 kB / 0.7569 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.5391, allocations: 5.438 kB / 0.7569 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5391, allocations: 6.641 kB / 0.7569 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.389e-05/0.5392, allocations: 21.16 kB / 0.7569 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.5392, allocations: 2.531 kB / 0.7569 GB, free: 11.18 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.0001094/0.5393, allocations: 211.1 kB / 0.7571 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.5394, allocations: 120.5 kB / 0.7572 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/0.5394, allocations: 121.9 kB / 0.7573 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.136e-05/0.5395, allocations: 180.2 kB / 0.7575 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.083e-05/0.5395, allocations: 176.3 kB / 0.7577 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.277e-05/0.5396, allocations: 187.1 kB / 0.7578 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.5398, allocations: 459.2 kB / 0.7583 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-05/0.5399, allocations: 108 kB / 0.7584 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.5399, allocations: 104.9 kB / 0.7585 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.278e-05/0.54, allocations: 176.3 kB / 0.7587 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/0.54, allocations: 182.8 kB / 0.7588 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.583e-05/0.5401, allocations: 180.2 kB / 0.759 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.215e-05/0.5401, allocations: 182.7 kB / 0.7592 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.5403, allocations: 326.3 kB / 0.7595 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.5404, allocations: 200.3 kB / 0.7597 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.157e-05/0.5404, allocations: 178.8 kB / 0.7598 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.5405, allocations: 109.2 kB / 0.7599 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.5406, allocations: 184.2 kB / 0.7601 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.5406, allocations: 104.9 kB / 0.7602 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001555/0.5408, allocations: 183.2 kB / 0.7604 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5408, allocations: 0 / 0.7604 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002436/0.5411, allocations: 21.03 kB / 0.7604 GB, free: 7.488 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.0003377/0.5414, allocations: 0.8263 MB / 0.7612 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.083e-05/0.5415, allocations: 28.52 kB / 0.7613 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5415, allocations: 0 / 0.7613 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.5415, allocations: 0 / 0.7613 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.5421, allocations: 0.5027 MB / 0.7617 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.5438, allocations: 2.037 MB / 0.7637 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.5441, allocations: 0.7227 MB / 0.7644 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.102e-05/0.5442, allocations: 18.98 kB / 0.7645 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.5443, allocations: 36.14 kB / 0.7645 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of SimCode: time 4.2e-07/0.5443, allocations: 0 / 0.7645 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8891/1.433, allocations: 3.824 MB / 0.7682 GB, free: 120 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.488/9.921, allocations: 7.484 kB / 0.7682 GB, free: 116 kB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)