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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 220 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8016/0.8016, allocations: 134 MB / 447.2 MB, free: 9.891 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 66.28 kB / 0.6192 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.17, allocations: 85.91 MB / 0.7031 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.5009/0.6708, allocations: 146.4 MB / 0.8461 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005837/0.6767, allocations: 5.182 MB / 0.8512 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.6768, allocations: 11.94 kB / 0.8512 GB, free: 11.61 MB / 0.6231 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.0004551/0.6773, allocations: 95.3 kB / 0.8513 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.6775, allocations: 51.62 kB / 0.8513 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.6776, allocations: 43.94 kB / 0.8514 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.6779, allocations: 211.6 kB / 0.8516 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.6781, allocations: 66.86 kB / 0.8516 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.6784, allocations: 107.5 kB / 0.8517 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.6785, allocations: 67.7 kB / 0.8518 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.6785, allocations: 8 kB / 0.8518 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 2.629e-05/0.6785, allocations: 12 kB / 0.8518 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.6786, allocations: 31.84 kB / 0.8518 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 7.868e-05/0.6787, allocations: 59.73 kB / 0.8519 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.6789, allocations: 163.2 kB / 0.852 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.6789, allocations: 0 / 0.852 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6789, allocations: 0 / 0.852 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.6789, allocations: 4 kB / 0.8521 GB, free: 10.7 MB / 0.6231 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.0006058/0.6795, allocations: 373.7 kB / 0.8524 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6796, allocations: 12.03 kB / 0.8524 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.419e-05/0.6796, allocations: 240 / 0.8524 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.6796, allocations: 46.55 kB / 0.8525 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.6797, allocations: 23.84 kB / 0.8525 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.68, allocations: 200.8 kB / 0.8527 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.68, allocations: 8.234 kB / 0.8527 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.68, allocations: 11.94 kB / 0.8527 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.6803, allocations: 219.8 kB / 0.8529 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.6803, allocations: 0 / 0.8529 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.6803, allocations: 8 kB / 0.8529 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.6803, allocations: 7.938 kB / 0.8529 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.6805, allocations: 71.83 kB / 0.853 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.6814, allocations: 1.093 MB / 0.8541 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.6815, allocations: 181.1 kB / 0.8542 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.6816, allocations: 80.14 kB / 0.8543 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.6816, allocations: 79.28 kB / 0.8544 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/0.6817, allocations: 113.8 kB / 0.8545 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6817, allocations: 0 / 0.8545 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 8.099e-05/0.6818, allocations: 41.61 kB / 0.8545 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.6819, allocations: 182.1 kB / 0.8547 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.6822, allocations: 252.9 kB / 0.8549 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.6822, allocations: 25.7 kB / 0.855 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.6823, allocations: 132 kB / 0.8551 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.6823, allocations: 0 / 0.8551 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.6823, allocations: 25.7 kB / 0.8551 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.6825, allocations: 330.8 kB / 0.8554 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.6825, allocations: 11.75 kB / 0.8554 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.6826, allocations: 170.5 kB / 0.8556 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.157e-05/0.6827, allocations: 56.16 kB / 0.8557 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6827, allocations: 0 / 0.8557 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000162/0.6829, allocations: 93.42 kB / 0.8558 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6829, allocations: 4 kB / 0.8558 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6829, allocations: 4 kB / 0.8558 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6829, allocations: 3.984 kB / 0.8558 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.967e-05/0.683, allocations: 8 kB / 0.8558 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.683, allocations: 0 / 0.8558 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.6831, allocations: 15.89 kB / 0.8558 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.6831, allocations: 0 / 0.8558 GB, free: 6.531 MB / 0.6231 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.0001544/0.6832, allocations: 213.2 kB / 0.856 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.6833, allocations: 124.8 kB / 0.8561 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.302e-05/0.6834, allocations: 125.6 kB / 0.8562 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.251e-05/0.6835, allocations: 180.2 kB / 0.8564 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.541e-05/0.6835, allocations: 184.3 kB / 0.8566 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.916e-05/0.6836, allocations: 176.3 kB / 0.8567 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.6839, allocations: 420.1 kB / 0.8571 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.697e-05/0.684, allocations: 105 kB / 0.8572 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.684, allocations: 108.9 kB / 0.8574 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-05/0.6841, allocations: 180.2 kB / 0.8575 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.07e-05/0.6842, allocations: 176.3 kB / 0.8577 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.694e-05/0.6843, allocations: 196.2 kB / 0.8579 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.059e-05/0.6844, allocations: 176.3 kB / 0.858 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.6845, allocations: 323.6 kB / 0.8584 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.251e-05/0.6846, allocations: 120.9 kB / 0.8585 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.6847, allocations: 184.2 kB / 0.8586 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.6848, allocations: 101.9 kB / 0.8587 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.6849, allocations: 188.2 kB / 0.8589 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.685, allocations: 101 kB / 0.859 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000182/0.6852, allocations: 184.5 kB / 0.8592 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.6852, allocations: 0 / 0.8592 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002354/0.6854, allocations: 23.95 kB / 0.8592 GB, free: 2.828 MB / 0.6231 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.0004647/0.6859, allocations: 0.8242 MB / 0.86 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.95e-05/0.6859, allocations: 23.92 kB / 0.86 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6859, allocations: 0 / 0.86 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.686, allocations: 0 / 0.86 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.6866, allocations: 0.5135 MB / 0.8605 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.6887, allocations: 2.047 MB / 0.8625 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.6888, allocations: 110.2 kB / 0.8627 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.618e-05/0.6889, allocations: 17.48 kB / 0.8627 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.689, allocations: 39.42 kB / 0.8627 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.689, allocations: 0 / 0.8627 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.7138, allocations: 4.308 MB / 0.8669 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.44, allocations: 15.47 kB / 0.8669 GB, free: 11 MB / 0.6387 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.90561256208457] Failed to read output from testmodel.py, exit status != 0: 11.591009463998489 11.606930456 10.925160533 Calling exit ...