Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_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.001065/0.001065, allocations: 103.3 kB / 16.4 MB, free: 6.5 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.001055/0.001055, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7185/0.7185, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 62.89 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1678, allocations: 76.18 MB / 0.6316 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.5864/0.7543, allocations: 166.1 MB / 0.7938 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004523/0.7589, allocations: 5.703 MB / 0.7993 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.7591, allocations: 4.844 kB / 0.7993 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.7595, allocations: 98.72 kB / 0.7994 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.7598, allocations: 57.73 kB / 0.7995 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.76, allocations: 37.25 kB / 0.7995 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.7602, allocations: 216.2 kB / 0.7997 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.7604, allocations: 89.67 kB / 0.7998 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.7606, allocations: 101.2 kB / 0.7999 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.7608, allocations: 73.67 kB / 0.8 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.7608, allocations: 13.94 kB / 0.8 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.102e-05/0.7608, allocations: 10.69 kB / 0.8 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.7609, allocations: 30.88 kB / 0.8 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.134e-05/0.761, allocations: 73.33 kB / 0.8001 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.7612, allocations: 155 kB / 0.8002 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7612, allocations: 0 / 0.8002 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7612, allocations: 0 / 0.8002 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.7612, allocations: 2.594 kB / 0.8002 GB, free: 12.26 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.0005547/0.7618, allocations: 445.7 kB / 0.8007 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.7618, allocations: 10.98 kB / 0.8007 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.7619, allocations: 51.27 kB / 0.8007 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.7619, allocations: 17.56 kB / 0.8007 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.7622, allocations: 251 kB / 0.801 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.7622, allocations: 8.953 kB / 0.801 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.7623, allocations: 15.41 kB / 0.801 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.7625, allocations: 170.9 kB / 0.8012 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.7625, allocations: 3.938 kB / 0.8012 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.7625, allocations: 3.125 kB / 0.8012 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.7625, allocations: 8.781 kB / 0.8012 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.7627, allocations: 70.69 kB / 0.8013 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.7635, allocations: 1.148 MB / 0.8024 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.7635, allocations: 169.1 kB / 0.8025 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.7636, allocations: 80.14 kB / 0.8026 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.7636, allocations: 85.81 kB / 0.8027 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.7637, allocations: 109.2 kB / 0.8028 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.7637, allocations: 0 / 0.8028 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.943e-05/0.7638, allocations: 43.44 kB / 0.8028 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.7638, allocations: 184.5 kB / 0.803 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.7641, allocations: 254.7 kB / 0.8033 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.7641, allocations: 25.7 kB / 0.8033 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.7642, allocations: 137.4 kB / 0.8034 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.7642, allocations: 0 / 0.8034 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.7642, allocations: 18.78 kB / 0.8034 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.7643, allocations: 327.5 kB / 0.8037 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.7644, allocations: 12.83 kB / 0.8038 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.562e-05/0.7644, allocations: 70.67 kB / 0.8038 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.7645, allocations: 46.14 kB / 0.8039 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7645, allocations: 2.938 kB / 0.8039 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001426/0.7646, allocations: 89.5 kB / 0.804 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.7647, allocations: 5.531 kB / 0.804 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.7647, allocations: 6.266 kB / 0.804 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7647, allocations: 0 / 0.804 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-05/0.7648, allocations: 8.062 kB / 0.804 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.7648, allocations: 6.406 kB / 0.804 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.607e-05/0.7649, allocations: 15.12 kB / 0.804 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.7649, allocations: 2.5 kB / 0.804 GB, free: 9.008 MB / 0.5919 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.0001181/0.765, allocations: 207.8 kB / 0.8042 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.7651, allocations: 127.3 kB / 0.8043 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.7651, allocations: 124 kB / 0.8044 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.619e-05/0.7652, allocations: 176.3 kB / 0.8046 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.12e-05/0.7653, allocations: 183.9 kB / 0.8048 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.152e-05/0.7653, allocations: 193.6 kB / 0.805 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.7656, allocations: 450.7 kB / 0.8054 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/0.7656, allocations: 111.4 kB / 0.8055 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.7657, allocations: 105.1 kB / 0.8056 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.375e-05/0.7657, allocations: 176.3 kB / 0.8058 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.7658, allocations: 183.1 kB / 0.8059 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.004e-05/0.7658, allocations: 182.4 kB / 0.8061 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.892e-05/0.7659, allocations: 185.6 kB / 0.8063 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.766, allocations: 316.7 kB / 0.8066 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-05/0.7661, allocations: 200.6 kB / 0.8068 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.336e-05/0.7662, allocations: 176.3 kB / 0.807 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.953e-05/0.7663, allocations: 115.2 kB / 0.8071 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.7664, allocations: 179.6 kB / 0.8072 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.7664, allocations: 104.9 kB / 0.8073 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001449/0.7666, allocations: 186.8 kB / 0.8075 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7666, allocations: 0 / 0.8075 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002318/0.7668, allocations: 20.53 kB / 0.8075 GB, free: 5.438 MB / 0.5919 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.0003533/0.7672, allocations: 0.8256 MB / 0.8083 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.939e-05/0.7673, allocations: 19.17 kB / 0.8084 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7673, allocations: 2.469 kB / 0.8084 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.7673, allocations: 0 / 0.8084 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.7679, allocations: 0.5049 MB / 0.8089 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.7697, allocations: 2.055 MB / 0.8109 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.7701, allocations: 0.7188 MB / 0.8116 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.834e-05/0.7701, allocations: 24.88 kB / 0.8116 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.7702, allocations: 37.45 kB / 0.8116 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.7702, allocations: 0 / 0.8116 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.7933, allocations: 3.927 MB / 0.8155 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/8.185, allocations: 9.828 kB / 0.8155 GB, free: 0.5508 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)