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.009319/0.009318, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001735/0.001735, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8339/0.8339, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 62.39 kB / 0.5851 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1707, allocations: 80.92 MB / 0.6641 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.5513/0.7221, allocations: 166.1 MB / 0.8263 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005621/0.7277, allocations: 5.696 MB / 0.8319 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.728, allocations: 8.812 kB / 0.8319 GB, free: 12.66 MB / 0.6075 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.0004853/0.7285, allocations: 100 kB / 0.832 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.7287, allocations: 59.06 kB / 0.8321 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.7289, allocations: 39.27 kB / 0.8321 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.7292, allocations: 211.5 kB / 0.8323 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.7294, allocations: 84.89 kB / 0.8324 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.7296, allocations: 108.5 kB / 0.8325 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.7298, allocations: 69.31 kB / 0.8326 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.7298, allocations: 9.562 kB / 0.8326 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.7298, allocations: 10.84 kB / 0.8326 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.7299, allocations: 39.33 kB / 0.8326 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.564e-05/0.73, allocations: 66.34 kB / 0.8327 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.7302, allocations: 163.1 kB / 0.8328 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7302, allocations: 0 / 0.8328 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7302, allocations: 0 / 0.8328 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.7302, allocations: 0 / 0.8328 GB, free: 12.03 MB / 0.6075 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.0006262/0.7309, allocations: 444.2 kB / 0.8333 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.7309, allocations: 10.42 kB / 0.8333 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.731, allocations: 43.94 kB / 0.8333 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.731, allocations: 19.41 kB / 0.8333 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.7313, allocations: 257.1 kB / 0.8336 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.7313, allocations: 9.516 kB / 0.8336 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.7314, allocations: 11.56 kB / 0.8336 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.7316, allocations: 173.1 kB / 0.8338 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.7316, allocations: 4 kB / 0.8338 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.7316, allocations: 6.766 kB / 0.8338 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7317, allocations: 6.078 kB / 0.8338 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.7318, allocations: 72.97 kB / 0.8338 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008568/0.7326, allocations: 1.146 MB / 0.835 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.857e-05/0.7327, allocations: 171.8 kB / 0.8351 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.7328, allocations: 80.14 kB / 0.8352 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.7328, allocations: 79.28 kB / 0.8353 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.7329, allocations: 112 kB / 0.8354 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.7329, allocations: 0 / 0.8354 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.537e-05/0.7329, allocations: 44.89 kB / 0.8354 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/0.733, allocations: 185.1 kB / 0.8356 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.7333, allocations: 245.3 kB / 0.8358 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.7333, allocations: 29.7 kB / 0.8359 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.7334, allocations: 137.9 kB / 0.836 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.7334, allocations: 0 / 0.836 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.7335, allocations: 21.22 kB / 0.836 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.7336, allocations: 331.5 kB / 0.8363 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.7336, allocations: 6.75 kB / 0.8363 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.7337, allocations: 73.47 kB / 0.8364 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/0.7338, allocations: 54.38 kB / 0.8365 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7338, allocations: 7.938 kB / 0.8365 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001588/0.7339, allocations: 81.75 kB / 0.8366 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.7339, allocations: 5.219 kB / 0.8366 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.734, allocations: 0 / 0.8366 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.734, allocations: 2.469 kB / 0.8366 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.734, allocations: 14.62 kB / 0.8366 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.7341, allocations: 6.078 kB / 0.8366 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.7341, allocations: 13.09 kB / 0.8366 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.7342, allocations: 6.875 kB / 0.8366 GB, free: 8.309 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.0001194/0.7343, allocations: 210.7 kB / 0.8368 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-05/0.7344, allocations: 116.5 kB / 0.8369 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.2e-05/0.7344, allocations: 125.6 kB / 0.837 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-05/0.7345, allocations: 176.3 kB / 0.8372 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.437e-05/0.7346, allocations: 186.4 kB / 0.8374 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.132e-05/0.7346, allocations: 184.3 kB / 0.8376 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.7349, allocations: 453.5 kB / 0.838 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.017e-05/0.7349, allocations: 104.9 kB / 0.8381 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.735, allocations: 107.3 kB / 0.8382 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.378e-05/0.735, allocations: 180.2 kB / 0.8384 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.7351, allocations: 182.8 kB / 0.8385 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-05/0.7352, allocations: 180.2 kB / 0.8387 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.579e-05/0.7352, allocations: 180.2 kB / 0.8389 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.7354, allocations: 323.7 kB / 0.8392 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.552e-05/0.7355, allocations: 197 kB / 0.8394 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.7356, allocations: 183 kB / 0.8395 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.7357, allocations: 107 kB / 0.8396 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.7357, allocations: 180.2 kB / 0.8398 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.7358, allocations: 107.7 kB / 0.8399 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00016/0.7359, allocations: 181.2 kB / 0.8401 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7359, allocations: 0 / 0.8401 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002476/0.7362, allocations: 19.59 kB / 0.8401 GB, free: 4.625 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.0003956/0.7366, allocations: 0.8297 MB / 0.8409 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.7367, allocations: 24.39 kB / 0.8409 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7367, allocations: 4.25 kB / 0.841 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.7367, allocations: 4 kB / 0.841 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.7373, allocations: 0.5033 MB / 0.8414 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.7393, allocations: 2.052 MB / 0.8435 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.7396, allocations: 0.712 MB / 0.8441 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000101/0.7397, allocations: 26.06 kB / 0.8442 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.7398, allocations: 43.23 kB / 0.8442 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.7398, allocations: 0 / 0.8442 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.765, allocations: 3.856 MB / 0.848 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/8.515, allocations: 13.73 kB / 0.848 GB, free: 14.82 MB / 0.6231 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)