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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.00103/0.00103, allocations: 108 kB / 15.6 MB, free: 132 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.001012/0.001012, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9704/0.9704, allocations: 143 MB / 433.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.146, allocations: 82.04 MB / 0.5944 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.4021/0.5481, allocations: 166.1 MB / 0.7566 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005295/0.5535, allocations: 5.724 MB / 0.7622 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.5536, allocations: 7.938 kB / 0.7622 GB, free: 1.387 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/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/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/FlowSplitter_u.mo:47:3-50: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/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/FlowSplitter_u.mo:51:3-52: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.0003902/0.5541, allocations: 95.31 kB / 0.7623 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.5542, allocations: 63.59 kB / 0.7624 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.5544, allocations: 31.95 kB / 0.7624 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.5546, allocations: 215.2 kB / 0.7626 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.5549, allocations: 83.17 kB / 0.7627 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.5551, allocations: 99.62 kB / 0.7628 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.5552, allocations: 83.58 kB / 0.7629 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.5553, allocations: 8 kB / 0.7629 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.81e-05/0.5553, allocations: 12 kB / 0.7629 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.5554, allocations: 27.86 kB / 0.7629 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.766e-05/0.5554, allocations: 67.67 kB / 0.763 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.5556, allocations: 163.4 kB / 0.7631 GB, free: 468 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5557, allocations: 6.062 kB / 0.7631 GB, free: 464 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5557, allocations: 0 / 0.7631 GB, free: 464 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.5557, allocations: 0 / 0.7631 GB, free: 464 kB / 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.0006415/0.5563, allocations: 439.1 kB / 0.7636 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.5564, allocations: 12.03 kB / 0.7636 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.253e-05/0.5564, allocations: 46.55 kB / 0.7636 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.5565, allocations: 15.81 kB / 0.7636 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.5567, allocations: 251.5 kB / 0.7639 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.5568, allocations: 8.234 kB / 0.7639 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.5568, allocations: 8 kB / 0.7639 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.557, allocations: 169.8 kB / 0.764 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.557, allocations: 0 / 0.764 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.5571, allocations: 8 kB / 0.764 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.5571, allocations: 4 kB / 0.7641 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.5572, allocations: 71.83 kB / 0.7641 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.558, allocations: 1.148 MB / 0.7652 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.331e-05/0.5581, allocations: 173.1 kB / 0.7654 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.5581, allocations: 84.08 kB / 0.7655 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.5582, allocations: 79.22 kB / 0.7656 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.5582, allocations: 109.8 kB / 0.7657 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.5582, allocations: 0 / 0.7657 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.718e-05/0.5583, allocations: 45.5 kB / 0.7657 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.5584, allocations: 190 kB / 0.7659 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.5586, allocations: 245 kB / 0.7661 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.5587, allocations: 29.7 kB / 0.7662 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.5587, allocations: 135.9 kB / 0.7663 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.5588, allocations: 0 / 0.7663 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.5588, allocations: 21.72 kB / 0.7663 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5589, allocations: 322.8 kB / 0.7666 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.5589, allocations: 19.92 kB / 0.7666 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.564e-05/0.559, allocations: 63.72 kB / 0.7667 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.084e-05/0.5591, allocations: 56.17 kB / 0.7667 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5591, allocations: 0 / 0.7667 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001491/0.5592, allocations: 89.8 kB / 0.7668 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.5592, allocations: 8.625 kB / 0.7668 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5593, allocations: 0 / 0.7668 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5593, allocations: 4.156 kB / 0.7668 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.5593, allocations: 8 kB / 0.7669 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5594, allocations: 4 kB / 0.7669 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.5594, allocations: 12.53 kB / 0.7669 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.5594, allocations: 4 kB / 0.7669 GB, free: 12.29 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.0001305/0.5596, allocations: 209 kB / 0.7671 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/0.5597, allocations: 124.7 kB / 0.7672 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.5597, allocations: 117.8 kB / 0.7673 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.065e-05/0.5598, allocations: 188.2 kB / 0.7675 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.065e-05/0.5599, allocations: 180.3 kB / 0.7677 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-05/0.5599, allocations: 185.9 kB / 0.7678 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.5602, allocations: 453.2 kB / 0.7683 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-05/0.5602, allocations: 104.9 kB / 0.7684 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.5603, allocations: 108.9 kB / 0.7685 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.017e-05/0.5603, allocations: 184.3 kB / 0.7686 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.5604, allocations: 180.2 kB / 0.7688 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-05/0.5604, allocations: 176.3 kB / 0.769 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.297e-05/0.5605, allocations: 180.2 kB / 0.7692 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.5606, allocations: 323.6 kB / 0.7695 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/0.5607, allocations: 201.8 kB / 0.7697 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.5608, allocations: 184.3 kB / 0.7698 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.5609, allocations: 101.5 kB / 0.7699 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.561, allocations: 180.2 kB / 0.7701 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.561, allocations: 109 kB / 0.7702 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001539/0.5612, allocations: 184.5 kB / 0.7704 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5612, allocations: 0 / 0.7704 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002488/0.5614, allocations: 23.91 kB / 0.7704 GB, free: 8.449 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.0003393/0.5618, allocations: 0.8358 MB / 0.7712 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.035e-05/0.5619, allocations: 23.92 kB / 0.7712 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5619, allocations: 0 / 0.7712 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.399e-06/0.5619, allocations: 0 / 0.7712 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005844/0.5625, allocations: 0.4984 MB / 0.7717 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.5642, allocations: 2.047 MB / 0.7737 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.5645, allocations: 0.7163 MB / 0.7744 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.319e-05/0.5646, allocations: 29.56 kB / 0.7745 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.5646, allocations: 39.42 kB / 0.7745 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.5646, allocations: 0 / 0.7745 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08658/0.6512, allocations: 3.839 MB / 0.7782 GB, free: 424 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.727, allocations: 4.531 kB / 0.7782 GB, free: 420 kB / 0.5919 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/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)