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/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.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.0009616/0.0009615, 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.0009525/0.0009525, allocations: 194 kB / 16.53 MB, free: 6.391 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.2/1.2, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.8576/0.8576, allocations: 143 MB / 433.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1328, allocations: 82.04 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.3591/0.4919, allocations: 161.4 MB / 0.752 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.4935, allocations: 0.9585 MB / 0.7529 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.4936, allocations: 10.44 kB / 0.7529 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.4941, allocations: 154.6 kB / 0.7531 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.4952, allocations: 0.6404 MB / 0.7537 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.4957, allocations: 215.6 kB / 0.7539 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004645/0.4962, allocations: 0.524 MB / 0.7544 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.4965, allocations: 175.3 kB / 0.7546 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.4968, allocations: 231.1 kB / 0.7548 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.497, allocations: 151.4 kB / 0.7549 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.497, allocations: 16 kB / 0.755 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000717/0.4978, allocations: 0.5377 MB / 0.7555 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.987e-05/0.4979, allocations: 87.72 kB / 0.7556 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.498, allocations: 107.4 kB / 0.7557 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.4985, allocations: 0.4948 MB / 0.7561 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4985, allocations: 0 / 0.7561 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4986, allocations: 0 / 0.7561 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4986, allocations: 0.5625 kB / 0.7561 GB, free: 7.582 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001203/0.4998, allocations: 0.5999 MB / 0.7567 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.4998, allocations: 8.031 kB / 0.7567 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.4999, allocations: 54.55 kB / 0.7568 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.5001, allocations: 43.69 kB / 0.7568 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.5004, allocations: 284.8 kB / 0.7571 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.5004, allocations: 13.45 kB / 0.7571 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.5004, allocations: 16 kB / 0.7571 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/0.5009, allocations: 243.8 kB / 0.7574 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.5009, allocations: 0 / 0.7574 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.5009, allocations: 8 kB / 0.7574 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.501, allocations: 11.98 kB / 0.7574 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005677/0.5015, allocations: 255.6 kB / 0.7576 GB, free: 5.969 MB / 0.5762 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.001047/0.5026, allocations: 0.8462 MB / 0.7585 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.5029, allocations: 142.5 kB / 0.7586 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.5031, allocations: 114.7 kB / 0.7587 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/0.5033, allocations: 190.2 kB / 0.7589 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.5033, allocations: 34.56 kB / 0.7589 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.5033, allocations: 0 / 0.7589 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0007391/0.5041, allocations: 304.2 kB / 0.7592 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.5041, allocations: 63.34 kB / 0.7593 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.5043, allocations: 237 kB / 0.7595 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.5044, allocations: 33.7 kB / 0.7595 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.5044, allocations: 132.2 kB / 0.7596 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.5045, allocations: 47.36 kB / 0.7597 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.5045, allocations: 37.64 kB / 0.7597 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.5046, allocations: 330.8 kB / 0.76 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.5048, allocations: 71.95 kB / 0.7601 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.505, allocations: 103.5 kB / 0.7602 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.5053, allocations: 166.4 kB / 0.7604 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5054, allocations: 4 kB / 0.7604 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004069/0.5058, allocations: 217.2 kB / 0.7606 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.5058, allocations: 7.938 kB / 0.7606 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5058, allocations: 0 / 0.7606 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.5058, allocations: 5.875 kB / 0.7606 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.506, allocations: 28.53 kB / 0.7606 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.506, allocations: 4 kB / 0.7606 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.5062, allocations: 27.89 kB / 0.7607 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.5062, allocations: 4 kB / 0.7607 GB, free: 2.668 MB / 0.5762 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.000101/0.5063, allocations: 141.8 kB / 0.7608 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.5063, allocations: 24.16 kB / 0.7608 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.5064, allocations: 33.83 kB / 0.7608 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5064, allocations: 0 / 0.7608 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.5064, allocations: 4 kB / 0.7609 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5064, allocations: 0 / 0.7609 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.5073, allocations: 0.6685 MB / 0.7615 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5073, allocations: 12.16 kB / 0.7615 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.5075, allocations: 31.91 kB / 0.7615 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.5075, allocations: 4 kB / 0.7615 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.5075, allocations: 9.812 kB / 0.7616 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.5075, allocations: 4 kB / 0.7616 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5075, allocations: 48 / 0.7616 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.508, allocations: 362.4 kB / 0.7619 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.318e-05/0.5081, allocations: 112.8 kB / 0.762 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.5081, allocations: 7.938 kB / 0.762 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.5083, allocations: 15.98 kB / 0.762 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.5083, allocations: 23.84 kB / 0.7621 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.5083, allocations: 4 kB / 0.7621 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001321/0.5085, allocations: 180.5 kB / 0.7622 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5085, allocations: 0 / 0.7622 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003016/0.5088, allocations: 59.91 kB / 0.7623 GB, free: 0.8555 MB / 0.5762 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.0008447/0.5096, allocations: 0.9265 MB / 0.7632 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004081/0.5101, allocations: 187.7 kB / 0.7634 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5101, allocations: 0 / 0.7634 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.5103, allocations: 96.06 kB / 0.7635 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.511, allocations: 124.6 kB / 0.7636 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.5135, allocations: 2.456 MB / 0.766 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.5138, allocations: 0.748 MB / 0.7667 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001972/0.514, allocations: 70.52 kB / 0.7668 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/0.5141, allocations: 71.34 kB / 0.7669 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.5141, allocations: 0 / 0.7669 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.5332, allocations: 6.889 MB / 0.7736 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.612/7.145, allocations: 5.188 kB / 0.7736 GB, free: 5.336 MB / 0.5919 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)