Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",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.004911/0.004911, allocations: 101.5 kB / 15.73 MB, free: 6.059 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.001427/0.001427, allocations: 195.1 kB / 16.68 MB, free: 5.969 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9911/0.9911, allocations: 143.3 MB / 433.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 71.88 kB / 0.5953 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4445, allocations: 82.02 MB / 0.6754 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2267/0.6712, allocations: 161.4 MB / 0.833 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.6738, allocations: 0.9665 MB / 0.8339 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.6741, allocations: 7.938 kB / 0.8339 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.6747, allocations: 155 kB / 0.8341 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.6764, allocations: 0.638 MB / 0.8347 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.677, allocations: 218.5 kB / 0.8349 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007143/0.6778, allocations: 0.5188 MB / 0.8354 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004041/0.6782, allocations: 172.1 kB / 0.8356 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.6787, allocations: 239.1 kB / 0.8358 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.6789, allocations: 151.4 kB / 0.836 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.679, allocations: 16 kB / 0.836 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009527/0.6799, allocations: 0.5416 MB / 0.8365 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.6801, allocations: 75.8 kB / 0.8366 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.6802, allocations: 123.3 kB / 0.8367 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009128/0.6811, allocations: 0.4996 MB / 0.8372 GB, free: 15.91 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6811, allocations: 0 / 0.8372 GB, free: 15.91 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6812, allocations: 4 kB / 0.8372 GB, free: 15.91 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.6812, allocations: 0 / 0.8372 GB, free: 15.91 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001628/0.6828, allocations: 0.6073 MB / 0.8378 GB, free: 15.25 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.6829, allocations: 12.03 kB / 0.8378 GB, free: 15.24 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.371e-05/0.683, allocations: 46.55 kB / 0.8378 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.6832, allocations: 55.77 kB / 0.8379 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.6838, allocations: 294.5 kB / 0.8382 GB, free: 14.8 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.6838, allocations: 16.31 kB / 0.8382 GB, free: 14.79 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.6839, allocations: 16 kB / 0.8382 GB, free: 14.77 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/0.6845, allocations: 239.8 kB / 0.8384 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.6845, allocations: 0 / 0.8384 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.6845, allocations: 7.984 kB / 0.8384 GB, free: 14.52 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.6845, allocations: 8 kB / 0.8384 GB, free: 14.52 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006382/0.6852, allocations: 267.3 kB / 0.8387 GB, free: 14.25 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.6866, allocations: 0.8324 MB / 0.8395 GB, free: 13.35 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.6869, allocations: 138.5 kB / 0.8396 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.6872, allocations: 112.2 kB / 0.8398 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.6875, allocations: 190.2 kB / 0.8399 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.6875, allocations: 38.5 kB / 0.84 GB, free: 12.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.6875, allocations: 0 / 0.84 GB, free: 12.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=14): time 0.0008687/0.6884, allocations: 305.3 kB / 0.8403 GB, free: 12.52 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.6884, allocations: 51.41 kB / 0.8403 GB, free: 12.46 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.6887, allocations: 249 kB / 0.8405 GB, free: 12.21 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.6888, allocations: 25.7 kB / 0.8406 GB, free: 12.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.6889, allocations: 140.3 kB / 0.8407 GB, free: 12.04 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.6889, allocations: 43.58 kB / 0.8407 GB, free: 11.99 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.689, allocations: 33.7 kB / 0.8408 GB, free: 11.95 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.6892, allocations: 334.8 kB / 0.8411 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.6894, allocations: 63.94 kB / 0.8412 GB, free: 11.55 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.6896, allocations: 106.5 kB / 0.8413 GB, free: 11.44 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.69, allocations: 166.4 kB / 0.8414 GB, free: 11.27 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.69, allocations: 0 / 0.8414 GB, free: 11.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005111/0.6905, allocations: 221.4 kB / 0.8416 GB, free: 11.05 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.6906, allocations: 11.94 kB / 0.8416 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6906, allocations: 0 / 0.8416 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.6906, allocations: 0 / 0.8416 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.6908, allocations: 39.8 kB / 0.8417 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6908, allocations: 0 / 0.8417 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.691, allocations: 23.88 kB / 0.8417 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.691, allocations: 11.98 kB / 0.8417 GB, free: 10.96 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001389/0.6912, allocations: 141.9 kB / 0.8418 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.6912, allocations: 27.8 kB / 0.8419 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.119e-05/0.6913, allocations: 29.83 kB / 0.8419 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6913, allocations: 8 kB / 0.8419 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6914, allocations: 0 / 0.8419 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6914, allocations: 0 / 0.8419 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.6925, allocations: 0.6834 MB / 0.8426 GB, free: 9.984 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6925, allocations: 0 / 0.8426 GB, free: 9.984 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.6926, allocations: 35.97 kB / 0.8426 GB, free: 9.949 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.6927, allocations: 8.219 kB / 0.8426 GB, free: 9.941 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.6927, allocations: 0 / 0.8426 GB, free: 9.941 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.6927, allocations: 4 kB / 0.8426 GB, free: 9.938 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.6927, allocations: 7.938 kB / 0.8426 GB, free: 9.93 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.6932, allocations: 352.2 kB / 0.843 GB, free: 9.551 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.6934, allocations: 112.9 kB / 0.8431 GB, free: 9.422 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.6934, allocations: 8 kB / 0.8431 GB, free: 9.414 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.6936, allocations: 11.94 kB / 0.8431 GB, free: 9.402 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.6937, allocations: 23.95 kB / 0.8431 GB, free: 9.379 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.6937, allocations: 7.984 kB / 0.8431 GB, free: 9.371 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001801/0.6939, allocations: 176.5 kB / 0.8433 GB, free: 9.195 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.6939, allocations: 0 / 0.8433 GB, free: 9.195 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003643/0.6943, allocations: 59.94 kB / 0.8434 GB, free: 9.137 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.00117/0.6954, allocations: 0.943 MB / 0.8443 GB, free: 8.152 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004952/0.6959, allocations: 179.7 kB / 0.8444 GB, free: 7.977 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.696, allocations: 3.938 kB / 0.8444 GB, free: 7.973 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.6962, allocations: 104.3 kB / 0.8445 GB, free: 7.871 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007421/0.6969, allocations: 119.1 kB / 0.8447 GB, free: 7.758 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.7004, allocations: 2.471 MB / 0.8471 GB, free: 5.164 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.7008, allocations: 0.7519 MB / 0.8478 GB, free: 4.383 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002119/0.701, allocations: 65.89 kB / 0.8479 GB, free: 4.32 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.7012, allocations: 67.41 kB / 0.8479 GB, free: 4.254 MB / 0.67 GB Notification: Performance of SimCode: time 3.8e-07/0.7012, allocations: 0 / 0.8479 GB, free: 4.254 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2645/0.9657, allocations: 6.943 MB / 0.8547 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.955/9.921, allocations: 15.41 kB / 0.8547 GB, free: 13.5 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)