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.0007832/0.0007832, allocations: 95.88 kB / 15.68 MB, free: 488 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.0008025/0.0008026, allocations: 174.2 kB / 16.56 MB, free: 6.391 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.162/1.162, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5994/0.5994, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002662/0.0002662, allocations: 15.94 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 77.11 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.3799/0.4946, allocations: 139.1 MB / 0.6926 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003971/0.4986, allocations: 4.467 MB / 0.6969 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.4987, allocations: 7.938 kB / 0.697 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.4989, allocations: 35.77 kB / 0.697 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.4991, allocations: 79.7 kB / 0.6971 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 8.56e-05/0.4992, allocations: 27.97 kB / 0.6971 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.4995, allocations: 187.5 kB / 0.6973 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.4997, allocations: 63.19 kB / 0.6973 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.4999, allocations: 79.7 kB / 0.6974 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.5, allocations: 47.72 kB / 0.6975 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.5, allocations: 4 kB / 0.6975 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.201e-05/0.5, allocations: 4 kB / 0.6975 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.5, allocations: 11.92 kB / 0.6975 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.5001, allocations: 49.64 kB / 0.6975 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.5002, allocations: 114.1 kB / 0.6976 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.5002, allocations: 0 / 0.6976 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.035e-06/0.5002, allocations: 0 / 0.6976 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.5002, allocations: 3.938 kB / 0.6976 GB, free: 9.766 MB / 0.5137 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.000476/0.5007, allocations: 422.3 kB / 0.698 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5008, allocations: 12.03 kB / 0.698 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.266e-05/0.5008, allocations: 38.56 kB / 0.6981 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.5009, allocations: 23.8 kB / 0.6981 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.5011, allocations: 230.8 kB / 0.6983 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.5011, allocations: 8.234 kB / 0.6983 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.5012, allocations: 15.94 kB / 0.6983 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.5014, allocations: 173.8 kB / 0.6985 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5014, allocations: 3.938 kB / 0.6985 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.5014, allocations: 8 kB / 0.6985 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.5014, allocations: 4 kB / 0.6985 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.5015, allocations: 60.66 kB / 0.6986 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/0.5023, allocations: 1.152 MB / 0.6997 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.391e-05/0.5024, allocations: 173.1 kB / 0.6999 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.5024, allocations: 79.27 kB / 0.7 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.5025, allocations: 113.8 kB / 0.7001 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5025, allocations: 3.938 kB / 0.7001 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 6.923e-05/0.5026, allocations: 45.55 kB / 0.7001 GB, free: 7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/0.5026, allocations: 190 kB / 0.7003 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.5029, allocations: 249 kB / 0.7005 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.5029, allocations: 29.7 kB / 0.7006 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.503, allocations: 131.8 kB / 0.7007 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.503, allocations: 0 / 0.7007 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.503, allocations: 0 / 0.7007 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5031, allocations: 326.8 kB / 0.701 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.5031, allocations: 11.98 kB / 0.701 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.91e-05/0.5032, allocations: 68.59 kB / 0.7011 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.5032, allocations: 19.94 kB / 0.7011 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5033, allocations: 4 kB / 0.7011 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001279/0.5034, allocations: 81.42 kB / 0.7012 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.5034, allocations: 4 kB / 0.7012 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5034, allocations: 4 kB / 0.7012 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.5034, allocations: 0 / 0.7012 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.5035, allocations: 11.94 kB / 0.7012 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.5035, allocations: 0 / 0.7012 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.5036, allocations: 23.95 kB / 0.7012 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.5036, allocations: 10.05 kB / 0.7012 GB, free: 5.773 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.5037, allocations: 201.1 kB / 0.7014 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/0.5038, allocations: 124.7 kB / 0.7015 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.5038, allocations: 117.9 kB / 0.7016 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-05/0.5039, allocations: 180.2 kB / 0.7018 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.309e-05/0.504, allocations: 184.2 kB / 0.702 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.078e-05/0.504, allocations: 180.3 kB / 0.7022 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.5043, allocations: 461 kB / 0.7026 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-05/0.5043, allocations: 105 kB / 0.7027 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.5043, allocations: 101 kB / 0.7028 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.645e-05/0.5044, allocations: 180.2 kB / 0.703 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.5045, allocations: 184.3 kB / 0.7031 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.405e-05/0.5045, allocations: 180.2 kB / 0.7033 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.713e-05/0.5046, allocations: 180.2 kB / 0.7035 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.5047, allocations: 327.5 kB / 0.7038 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.5048, allocations: 201.9 kB / 0.704 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.5049, allocations: 180.2 kB / 0.7042 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.505, allocations: 105.9 kB / 0.7043 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.5051, allocations: 176.3 kB / 0.7044 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.5051, allocations: 109.2 kB / 0.7045 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001486/0.5053, allocations: 180.5 kB / 0.7047 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5053, allocations: 3.938 kB / 0.7047 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002209/0.5055, allocations: 24 kB / 0.7047 GB, free: 1.949 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003509/0.5059, allocations: 0.8209 MB / 0.7055 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.573e-05/0.506, allocations: 24.16 kB / 0.7056 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.506, allocations: 4.125 kB / 0.7056 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-06/0.506, allocations: 3.938 kB / 0.7056 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.5065, allocations: 0.5762 MB / 0.7061 GB, free: 500 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.5078, allocations: 1.55 MB / 0.7077 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.5081, allocations: 0.7244 MB / 0.7084 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.603e-05/0.5081, allocations: 21.58 kB / 0.7084 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.5082, allocations: 43.36 kB / 0.7084 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/0.5082, allocations: 0 / 0.7084 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4335/0.9417, allocations: 3.506 MB / 0.7118 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.9419, allocations: 174.2 kB / 0.712 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.956, allocations: 0 / 0.712 GB, free: 10.47 MB / 0.5294 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/linux/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) Environment - environmentSimulation: