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.0007214/0.0007214, allocations: 92.86 kB / 15.7 MB, free: 472 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.0008414/0.0008415, allocations: 171.7 kB / 16.58 MB, free: 6.051 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.216/1.216, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.617/0.617, allocations: 113.7 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004206, allocations: 8 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1326, allocations: 77.12 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.3755/0.5081, allocations: 150.9 MB / 0.7042 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004953/0.5131, allocations: 5.264 MB / 0.7093 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.5134, allocations: 7.938 kB / 0.7094 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.5137, allocations: 67.56 kB / 0.7094 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.5139, allocations: 51.69 kB / 0.7095 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.514, allocations: 27.91 kB / 0.7095 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.5143, allocations: 219.2 kB / 0.7097 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.5144, allocations: 67.2 kB / 0.7098 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.5146, allocations: 79.64 kB / 0.7098 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.5148, allocations: 55.7 kB / 0.7099 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.5148, allocations: 4 kB / 0.7099 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.5148, allocations: 0 / 0.7099 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.06e-05/0.5148, allocations: 19.88 kB / 0.7099 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.5149, allocations: 53.62 kB / 0.71 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.515, allocations: 115.6 kB / 0.7101 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.515, allocations: 0 / 0.7101 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.515, allocations: 4 kB / 0.7101 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.515, allocations: 0 / 0.7101 GB, free: 13.98 MB / 0.5294 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.0004412/0.5155, allocations: 411.8 kB / 0.7105 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.5155, allocations: 12.03 kB / 0.7105 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.5156, allocations: 46.55 kB / 0.7105 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.5156, allocations: 15.81 kB / 0.7106 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.5158, allocations: 242.7 kB / 0.7108 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.5159, allocations: 8.234 kB / 0.7108 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.5159, allocations: 16.88 kB / 0.7108 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.5161, allocations: 169.8 kB / 0.711 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.5161, allocations: 3.938 kB / 0.711 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.5161, allocations: 4 kB / 0.711 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.5162, allocations: 4 kB / 0.711 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.5163, allocations: 75.83 kB / 0.7111 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.5171, allocations: 1.156 MB / 0.7122 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.888e-05/0.5171, allocations: 169.1 kB / 0.7123 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.5172, allocations: 80.14 kB / 0.7124 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.5172, allocations: 75.28 kB / 0.7125 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.5173, allocations: 116.2 kB / 0.7126 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.5173, allocations: 0 / 0.7126 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.056e-05/0.5174, allocations: 45.52 kB / 0.7126 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.5174, allocations: 190 kB / 0.7128 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.5177, allocations: 241 kB / 0.7131 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.5177, allocations: 25.7 kB / 0.7131 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.5178, allocations: 143.8 kB / 0.7132 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.5178, allocations: 4 kB / 0.7132 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.5178, allocations: 4 kB / 0.7132 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5179, allocations: 326.8 kB / 0.7135 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.518, allocations: 7.984 kB / 0.7135 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.374e-05/0.518, allocations: 75.69 kB / 0.7136 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.36e-05/0.5181, allocations: 19.94 kB / 0.7136 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5181, allocations: 0 / 0.7136 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001359/0.5182, allocations: 81.38 kB / 0.7137 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5182, allocations: 11.98 kB / 0.7137 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5183, allocations: 4.156 kB / 0.7137 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5183, allocations: 4 kB / 0.7137 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.889e-05/0.5183, allocations: 4 kB / 0.7137 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5183, allocations: 4 kB / 0.7137 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.5184, allocations: 15.8 kB / 0.7138 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.5184, allocations: 4 kB / 0.7138 GB, free: 9.895 MB / 0.5294 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.0001112/0.5185, allocations: 205 kB / 0.714 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.5186, allocations: 124.8 kB / 0.7141 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.5187, allocations: 121.8 kB / 0.7142 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.115e-05/0.5187, allocations: 180.2 kB / 0.7144 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.546e-05/0.5188, allocations: 180.3 kB / 0.7145 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.416e-05/0.5188, allocations: 184.2 kB / 0.7147 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.5191, allocations: 449.1 kB / 0.7151 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/0.5191, allocations: 105 kB / 0.7152 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.5192, allocations: 108.9 kB / 0.7153 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-05/0.5192, allocations: 180.3 kB / 0.7155 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.152e-05/0.5193, allocations: 185.1 kB / 0.7157 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.534e-05/0.5194, allocations: 180.2 kB / 0.7159 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.679e-05/0.5194, allocations: 180.2 kB / 0.716 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.5195, allocations: 327.6 kB / 0.7163 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/0.5196, allocations: 197.8 kB / 0.7165 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.5197, allocations: 184.2 kB / 0.7167 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.5198, allocations: 109 kB / 0.7168 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.5199, allocations: 180.3 kB / 0.717 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.5199, allocations: 109 kB / 0.7171 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001505/0.5201, allocations: 184.5 kB / 0.7173 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5201, allocations: 0 / 0.7173 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002202/0.5203, allocations: 20 kB / 0.7173 GB, free: 6.062 MB / 0.5294 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.0003516/0.5207, allocations: 0.8248 MB / 0.7181 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.723e-05/0.5207, allocations: 19.94 kB / 0.7181 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5208, allocations: 0 / 0.7181 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.5208, allocations: 0 / 0.7181 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.5213, allocations: 0.5797 MB / 0.7187 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.5224, allocations: 0.9519 MB / 0.7196 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.5227, allocations: 0.7205 MB / 0.7203 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.839e-05/0.5228, allocations: 25.58 kB / 0.7203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.5228, allocations: 35.42 kB / 0.7204 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.5228, allocations: 0 / 0.7204 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.5352, allocations: 3.523 MB / 0.7238 GB, free: 15.41 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/0.5353, allocations: 173.4 kB / 0.724 GB, free: 15.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.064, allocations: 0 / 0.724 GB, free: 15.18 MB / 0.545 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: