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.001266/0.001266, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.009494/0.009494, allocations: 169 kB / 16.26 MB, free: 6.652 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.35/1.35, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.9529/0.9529, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 8 kB / 0.5165 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1753, allocations: 83.41 MB / 0.598 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.5558/0.7312, allocations: 161.8 MB / 0.7559 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005584/0.7368, allocations: 5.634 MB / 0.7615 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.7371, allocations: 4 kB / 0.7615 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.7375, allocations: 83.5 kB / 0.7615 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.7377, allocations: 43.69 kB / 0.7616 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.7379, allocations: 35.91 kB / 0.7616 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.7382, allocations: 260.4 kB / 0.7619 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.7384, allocations: 85.33 kB / 0.7619 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.7386, allocations: 83.64 kB / 0.762 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.7387, allocations: 55.7 kB / 0.7621 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.7388, allocations: 4 kB / 0.7621 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.7388, allocations: 7.938 kB / 0.7621 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.7388, allocations: 15.86 kB / 0.7621 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.208e-05/0.7389, allocations: 85.33 kB / 0.7622 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.7391, allocations: 147.4 kB / 0.7623 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.7391, allocations: 12 kB / 0.7623 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7391, allocations: 0 / 0.7623 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.7391, allocations: 0 / 0.7623 GB, free: 3.656 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.0005762/0.7397, allocations: 411 kB / 0.7627 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.7398, allocations: 12.03 kB / 0.7627 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.7398, allocations: 46.55 kB / 0.7628 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.7399, allocations: 16.56 kB / 0.7628 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.7402, allocations: 249.2 kB / 0.763 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.7402, allocations: 4.234 kB / 0.763 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.7402, allocations: 16 kB / 0.7631 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.7404, allocations: 172.9 kB / 0.7632 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.7405, allocations: 4 kB / 0.7632 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.7405, allocations: 4 kB / 0.7632 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.7405, allocations: 4 kB / 0.7632 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.7406, allocations: 76.88 kB / 0.7633 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009075/0.7415, allocations: 1.152 MB / 0.7644 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.651e-05/0.7416, allocations: 169.1 kB / 0.7646 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.7417, allocations: 80.14 kB / 0.7647 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.7417, allocations: 83.22 kB / 0.7647 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.7418, allocations: 110.7 kB / 0.7649 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.7418, allocations: 0 / 0.7649 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.833e-05/0.7419, allocations: 45.45 kB / 0.7649 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.742, allocations: 178.1 kB / 0.7651 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.7422, allocations: 253 kB / 0.7653 GB, free: 364 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.7423, allocations: 25.7 kB / 0.7653 GB, free: 332 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.7424, allocations: 131.9 kB / 0.7655 GB, free: 196 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.7424, allocations: 15.97 kB / 0.7655 GB, free: 180 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.7424, allocations: 13.72 kB / 0.7655 GB, free: 160 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7425, allocations: 326.8 kB / 0.7658 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.7426, allocations: 4 kB / 0.7658 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.819e-05/0.7426, allocations: 67.72 kB / 0.7659 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.88e-05/0.7427, allocations: 56.16 kB / 0.7659 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7427, allocations: 0 / 0.7659 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001484/0.7428, allocations: 85.44 kB / 0.766 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.7429, allocations: 8 kB / 0.766 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.7429, allocations: 0 / 0.766 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.7429, allocations: 3.984 kB / 0.766 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.743, allocations: 13.25 kB / 0.766 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.743, allocations: 4 kB / 0.766 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.7431, allocations: 15.84 kB / 0.766 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.7431, allocations: 4 kB / 0.766 GB, free: 15.52 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.0001152/0.7432, allocations: 205.2 kB / 0.7662 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.7433, allocations: 120.7 kB / 0.7664 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.7433, allocations: 125.8 kB / 0.7665 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.143e-05/0.7434, allocations: 180.3 kB / 0.7666 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.832e-05/0.7435, allocations: 184.2 kB / 0.7668 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.725e-05/0.7435, allocations: 176.3 kB / 0.767 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.7438, allocations: 461.1 kB / 0.7674 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.841e-05/0.7438, allocations: 108.9 kB / 0.7675 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.7439, allocations: 101.9 kB / 0.7676 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.511e-05/0.7439, allocations: 184.2 kB / 0.7678 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.959e-05/0.744, allocations: 184.2 kB / 0.768 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.429e-05/0.7441, allocations: 180.2 kB / 0.7682 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.998e-05/0.7441, allocations: 180.3 kB / 0.7683 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.7443, allocations: 323.8 kB / 0.7686 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.912e-05/0.7444, allocations: 201.9 kB / 0.7688 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.7445, allocations: 190.5 kB / 0.769 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.7446, allocations: 105 kB / 0.7691 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.7447, allocations: 176.3 kB / 0.7693 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.7447, allocations: 108.9 kB / 0.7694 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001735/0.7449, allocations: 188.5 kB / 0.7696 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7449, allocations: 0 / 0.7696 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002351/0.7451, allocations: 20 kB / 0.7696 GB, free: 11.68 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.0003851/0.7455, allocations: 0.8203 MB / 0.7704 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.528e-05/0.7456, allocations: 27.86 kB / 0.7704 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7456, allocations: 0 / 0.7704 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.7456, allocations: 0 / 0.7704 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.7462, allocations: 0.5752 MB / 0.771 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.7482, allocations: 2.072 MB / 0.773 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.7485, allocations: 0.7166 MB / 0.7737 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.892e-05/0.7486, allocations: 21.53 kB / 0.7737 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.7486, allocations: 47.36 kB / 0.7738 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.7486, allocations: 4 kB / 0.7738 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.7615, allocations: 3.561 MB / 0.7772 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.7617, allocations: 212.1 kB / 0.7774 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.391, allocations: 0 / 0.7774 GB, free: 3.598 MB / 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)