Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildSysPro_BuildSysPro_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.001088/0.001088, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001117/0.001117, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.914/1.914, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.318/1.318, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003755, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2247, allocations: 83.41 MB / 0.5975 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.773/0.9978, allocations: 150.9 MB / 0.7449 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006983/1.005, allocations: 5.258 MB / 0.75 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/1.005, allocations: 12.69 kB / 0.7501 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004973/1.006, allocations: 65.53 kB / 0.7501 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002847/1.006, allocations: 54.22 kB / 0.7502 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/1.006, allocations: 28.39 kB / 0.7502 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003948/1.007, allocations: 224.6 kB / 0.7504 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/1.007, allocations: 67.19 kB / 0.7505 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/1.007, allocations: 80.92 kB / 0.7506 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/1.007, allocations: 59.64 kB / 0.7506 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/1.007, allocations: 0 / 0.7506 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.205e-05/1.008, allocations: 7.938 kB / 0.7506 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/1.008, allocations: 19.94 kB / 0.7506 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/1.008, allocations: 49.64 kB / 0.7507 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/1.008, allocations: 115.7 kB / 0.7508 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/1.008, allocations: 0 / 0.7508 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.669e-06/1.008, allocations: 3.938 kB / 0.7508 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.008, allocations: 0 / 0.7508 GB, free: 15.09 MB / 0.5762 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.000751/1.009, allocations: 419 kB / 0.7512 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/1.009, allocations: 8.031 kB / 0.7512 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.466e-05/1.009, allocations: 46.55 kB / 0.7512 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/1.009, allocations: 28.8 kB / 0.7513 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/1.009, allocations: 226.8 kB / 0.7515 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/1.009, allocations: 16.17 kB / 0.7515 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/1.009, allocations: 12 kB / 0.7515 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/1.01, allocations: 170.6 kB / 0.7517 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/1.01, allocations: 3.938 kB / 0.7517 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/1.01, allocations: 8 kB / 0.7517 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/1.01, allocations: 0 / 0.7517 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/1.01, allocations: 71.86 kB / 0.7518 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/1.011, allocations: 1.148 MB / 0.7529 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/1.011, allocations: 169.1 kB / 0.753 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/1.011, allocations: 92.08 kB / 0.7531 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/1.012, allocations: 75.28 kB / 0.7532 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.191e-05/1.012, allocations: 109.8 kB / 0.7533 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/1.012, allocations: 0 / 0.7533 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.000108/1.012, allocations: 45.45 kB / 0.7534 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.012, allocations: 178.1 kB / 0.7535 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/1.012, allocations: 253 kB / 0.7538 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/1.012, allocations: 29.7 kB / 0.7538 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.012, allocations: 127.9 kB / 0.7539 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.852e-06/1.012, allocations: 3.984 kB / 0.7539 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/1.012, allocations: 7.938 kB / 0.7539 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.013, allocations: 322.8 kB / 0.7542 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/1.013, allocations: 8 kB / 0.7542 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.958e-05/1.013, allocations: 67.75 kB / 0.7543 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.435e-05/1.013, allocations: 23.92 kB / 0.7543 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.013, allocations: 4 kB / 0.7543 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001989/1.013, allocations: 89.38 kB / 0.7544 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.013, allocations: 7.953 kB / 0.7544 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.013, allocations: 4 kB / 0.7544 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.013, allocations: 0 / 0.7544 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/1.013, allocations: 11.98 kB / 0.7544 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.013, allocations: 0.5469 kB / 0.7544 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-05/1.013, allocations: 15.84 kB / 0.7545 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/1.013, allocations: 0 / 0.7545 GB, free: 11.03 MB / 0.5762 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.0001867/1.013, allocations: 209.3 kB / 0.7547 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/1.014, allocations: 120.7 kB / 0.7548 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.502e-05/1.014, allocations: 125.8 kB / 0.7549 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001025/1.014, allocations: 176.3 kB / 0.7551 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001024/1.014, allocations: 180.7 kB / 0.7552 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001218/1.014, allocations: 184.3 kB / 0.7554 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/1.014, allocations: 457.1 kB / 0.7558 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.539e-05/1.014, allocations: 101.5 kB / 0.7559 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/1.015, allocations: 104.9 kB / 0.756 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.658e-05/1.015, allocations: 176.3 kB / 0.7562 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/1.015, allocations: 184.8 kB / 0.7564 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001099/1.015, allocations: 188.2 kB / 0.7566 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-05/1.015, allocations: 180.3 kB / 0.7567 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/1.015, allocations: 315.6 kB / 0.757 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/1.015, allocations: 205.9 kB / 0.7572 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/1.015, allocations: 185.1 kB / 0.7574 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/1.016, allocations: 109 kB / 0.7575 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/1.016, allocations: 188.1 kB / 0.7577 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/1.016, allocations: 101 kB / 0.7578 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002129/1.016, allocations: 184.5 kB / 0.758 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.016, allocations: 0 / 0.758 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003111/1.016, allocations: 20 kB / 0.758 GB, free: 7.195 MB / 0.5762 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.000646/1.017, allocations: 0.8241 MB / 0.7588 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001206/1.017, allocations: 19.98 kB / 0.7588 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/1.017, allocations: 0 / 0.7588 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/1.017, allocations: 4.25 kB / 0.7588 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/1.018, allocations: 0.582 MB / 0.7594 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/1.02, allocations: 0.9465 MB / 0.7603 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/1.02, allocations: 0.7205 MB / 0.761 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.934e-05/1.02, allocations: 21.55 kB / 0.761 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/1.02, allocations: 43.42 kB / 0.7611 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/1.02, allocations: 4 kB / 0.7611 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/1.045, allocations: 3.536 MB / 0.7645 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004266/1.046, allocations: 184.4 kB / 0.7647 GB, free: 368 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/3.105, allocations: 4 kB / 0.7647 GB, free: 364 kB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) Environment - environmentSimulation: