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.005536/0.005536, allocations: 99.8 kB / 15.73 MB, free: 6.047 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.001204/0.001204, allocations: 183.1 kB / 16.67 MB, free: 5.977 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 1.016/1.016, allocations: 143 MB / 433.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.89 kB / 0.5951 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.474, allocations: 82.02 MB / 0.6752 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.1919/0.666, allocations: 166.1 MB / 0.8374 GB, free: 15.68 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005657/0.6717, allocations: 5.727 MB / 0.843 GB, free: 9.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003431/0.6721, allocations: 7.938 kB / 0.843 GB, free: 9.922 MB / 0.67 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.0005847/0.6727, allocations: 98.05 kB / 0.8431 GB, free: 9.828 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.6729, allocations: 59.55 kB / 0.8431 GB, free: 9.77 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.6731, allocations: 39.94 kB / 0.8432 GB, free: 9.73 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.6734, allocations: 211 kB / 0.8434 GB, free: 9.523 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.6736, allocations: 90.64 kB / 0.8435 GB, free: 9.438 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.6738, allocations: 111.5 kB / 0.8436 GB, free: 9.328 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.674, allocations: 75.64 kB / 0.8437 GB, free: 9.254 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.674, allocations: 8 kB / 0.8437 GB, free: 9.246 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 2.081e-05/0.674, allocations: 8 kB / 0.8437 GB, free: 9.238 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.6741, allocations: 39.83 kB / 0.8437 GB, free: 9.199 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.6742, allocations: 59.69 kB / 0.8438 GB, free: 9.141 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.6744, allocations: 175.4 kB / 0.8439 GB, free: 8.969 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6744, allocations: 0 / 0.8439 GB, free: 8.969 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6744, allocations: 0 / 0.8439 GB, free: 8.969 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.6744, allocations: 0 / 0.8439 GB, free: 8.969 MB / 0.67 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.0006533/0.6751, allocations: 438.9 kB / 0.8443 GB, free: 8.492 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.6751, allocations: 19.91 kB / 0.8444 GB, free: 8.473 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.6752, allocations: 42.56 kB / 0.8444 GB, free: 8.422 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.6752, allocations: 19.75 kB / 0.8444 GB, free: 8.402 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.6755, allocations: 253.7 kB / 0.8447 GB, free: 8.117 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.6755, allocations: 12.23 kB / 0.8447 GB, free: 8.105 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.6756, allocations: 8 kB / 0.8447 GB, free: 8.098 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.6758, allocations: 170.3 kB / 0.8448 GB, free: 7.902 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6758, allocations: 3.938 kB / 0.8449 GB, free: 7.898 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.6758, allocations: 8 kB / 0.8449 GB, free: 7.891 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.6758, allocations: 4 kB / 0.8449 GB, free: 7.887 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.676, allocations: 71.89 kB / 0.8449 GB, free: 7.816 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008357/0.6768, allocations: 1.144 MB / 0.8461 GB, free: 6.594 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 8.302e-05/0.6769, allocations: 177.1 kB / 0.8462 GB, free: 6.41 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.6769, allocations: 84.08 kB / 0.8463 GB, free: 6.324 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.677, allocations: 79.28 kB / 0.8464 GB, free: 6.246 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.677, allocations: 105.8 kB / 0.8465 GB, free: 6.133 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.677, allocations: 0 / 0.8465 GB, free: 6.133 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 8.845e-05/0.6771, allocations: 49.44 kB / 0.8465 GB, free: 6.078 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.6772, allocations: 182.1 kB / 0.8467 GB, free: 5.875 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.6775, allocations: 248.9 kB / 0.8469 GB, free: 5.625 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.6775, allocations: 25.7 kB / 0.847 GB, free: 5.594 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 9.782e-05/0.6776, allocations: 139.9 kB / 0.8471 GB, free: 5.453 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-06/0.6776, allocations: 4 kB / 0.8471 GB, free: 5.449 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.6776, allocations: 17.72 kB / 0.8471 GB, free: 5.426 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6778, allocations: 326.8 kB / 0.8474 GB, free: 5.098 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.6778, allocations: 8 kB / 0.8474 GB, free: 5.09 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.6778, allocations: 67.72 kB / 0.8475 GB, free: 4.996 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.6779, allocations: 48.23 kB / 0.8475 GB, free: 4.934 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.6779, allocations: 3.984 kB / 0.8475 GB, free: 4.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001566/0.6781, allocations: 93.44 kB / 0.8476 GB, free: 4.832 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.6781, allocations: 4 kB / 0.8476 GB, free: 4.828 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6781, allocations: 8 kB / 0.8476 GB, free: 4.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.6781, allocations: 0 / 0.8476 GB, free: 4.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.6782, allocations: 8 kB / 0.8477 GB, free: 4.812 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.6782, allocations: 3.938 kB / 0.8477 GB, free: 4.809 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.661e-05/0.6783, allocations: 23.77 kB / 0.8477 GB, free: 4.785 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-06/0.6783, allocations: 0 / 0.8477 GB, free: 4.785 MB / 0.67 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.0001225/0.6784, allocations: 209.3 kB / 0.8479 GB, free: 4.57 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-05/0.6785, allocations: 124.7 kB / 0.848 GB, free: 4.441 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.026e-05/0.6786, allocations: 121.8 kB / 0.8481 GB, free: 4.316 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.812e-05/0.6786, allocations: 180.2 kB / 0.8483 GB, free: 4.133 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.024e-05/0.6787, allocations: 180.3 kB / 0.8485 GB, free: 3.949 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.637e-05/0.6788, allocations: 184.2 kB / 0.8486 GB, free: 3.762 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.6791, allocations: 457 kB / 0.8491 GB, free: 3.258 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/0.6791, allocations: 108.9 kB / 0.8492 GB, free: 3.145 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.6791, allocations: 101 kB / 0.8493 GB, free: 3.039 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.319e-05/0.6792, allocations: 180.3 kB / 0.8494 GB, free: 2.855 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/0.6793, allocations: 180.4 kB / 0.8496 GB, free: 2.672 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.35e-05/0.6793, allocations: 188.3 kB / 0.8498 GB, free: 2.48 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.336e-05/0.6794, allocations: 184.2 kB / 0.85 GB, free: 2.293 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.6796, allocations: 319.5 kB / 0.8503 GB, free: 1.957 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.6797, allocations: 197.9 kB / 0.8505 GB, free: 1.738 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.508e-05/0.6797, allocations: 180.3 kB / 0.8506 GB, free: 1.555 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.6799, allocations: 108.9 kB / 0.8507 GB, free: 1.441 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.6799, allocations: 180.3 kB / 0.8509 GB, free: 1.258 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.68, allocations: 108.9 kB / 0.851 GB, free: 1.145 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000157/0.6801, allocations: 180.5 kB / 0.8512 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6801, allocations: 0 / 0.8512 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002346/0.6804, allocations: 20 kB / 0.8512 GB, free: 0.9492 MB / 0.67 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.000365/0.6807, allocations: 0.832 MB / 0.852 GB, free: 88 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 9.663e-05/0.6808, allocations: 23.92 kB / 0.852 GB, free: 64 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6809, allocations: 0 / 0.852 GB, free: 64 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 3.948e-06/0.6809, allocations: 8.312 kB / 0.8521 GB, free: 56 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.6814, allocations: 0.5073 MB / 0.8525 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.6834, allocations: 2.039 MB / 0.8545 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.6837, allocations: 0.7202 MB / 0.8552 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 7.681e-05/0.6838, allocations: 21.55 kB / 0.8553 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.6838, allocations: 43.42 kB / 0.8553 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of SimCode: time 4.01e-07/0.6838, allocations: 0 / 0.8553 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.7051, allocations: 3.933 MB / 0.8591 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.492, allocations: 5.656 kB / 0.8591 GB, free: 8.766 MB / 0.6856 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)