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.007299/0.007299, allocations: 99.45 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.001568/0.001568, allocations: 193.4 kB / 16.67 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.8697/0.8697, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.91 kB / 0.595 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.139, allocations: 82.04 MB / 0.6752 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5425/0.6816, allocations: 161.4 MB / 0.8327 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.6835, allocations: 0.9583 MB / 0.8337 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.6839, allocations: 11.91 kB / 0.8337 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005861/0.6845, allocations: 160.2 kB / 0.8338 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.6861, allocations: 0.6573 MB / 0.8345 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.6868, allocations: 228.5 kB / 0.8347 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006621/0.6874, allocations: 0.5257 MB / 0.8352 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.6878, allocations: 170.6 kB / 0.8354 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/0.6883, allocations: 238.2 kB / 0.8356 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.6885, allocations: 160.6 kB / 0.8358 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.6886, allocations: 14.75 kB / 0.8358 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008884/0.6895, allocations: 0.5494 MB / 0.8363 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.6896, allocations: 75.11 kB / 0.8364 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.6897, allocations: 118.5 kB / 0.8365 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008106/0.6905, allocations: 0.4998 MB / 0.837 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6905, allocations: 0 / 0.837 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6906, allocations: 0 / 0.837 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.6906, allocations: 0 / 0.837 GB, free: 4.559 MB / 0.6075 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.0015/0.6921, allocations: 0.6064 MB / 0.8376 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6921, allocations: 7.562 kB / 0.8376 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.6922, allocations: 54.11 kB / 0.8376 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.6925, allocations: 56.16 kB / 0.8377 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.6929, allocations: 292.4 kB / 0.838 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.6929, allocations: 12.11 kB / 0.838 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.693, allocations: 14.06 kB / 0.838 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.6935, allocations: 240.9 kB / 0.8382 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6935, allocations: 7.938 kB / 0.8382 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.6935, allocations: 8 kB / 0.8382 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.6935, allocations: 7.938 kB / 0.8382 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.6941, allocations: 253.8 kB / 0.8385 GB, free: 3.355 MB / 0.6075 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.001187/0.6953, allocations: 0.8353 MB / 0.8393 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.6956, allocations: 138.9 kB / 0.8394 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.6958, allocations: 118.7 kB / 0.8395 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.6961, allocations: 186.3 kB / 0.8397 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.6961, allocations: 36.66 kB / 0.8398 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.6961, allocations: 0 / 0.8398 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0008152/0.697, allocations: 306.7 kB / 0.84 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.697, allocations: 55.41 kB / 0.8401 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.6972, allocations: 241.8 kB / 0.8403 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.6973, allocations: 29.7 kB / 0.8404 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.6974, allocations: 134.3 kB / 0.8405 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.6974, allocations: 55.48 kB / 0.8405 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.6975, allocations: 33.92 kB / 0.8406 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6976, allocations: 327.7 kB / 0.8409 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.6978, allocations: 78.97 kB / 0.841 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.698, allocations: 96.84 kB / 0.8411 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.6984, allocations: 168.5 kB / 0.8412 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6984, allocations: 4 kB / 0.8412 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004511/0.6989, allocations: 216.8 kB / 0.8414 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.6989, allocations: 10.19 kB / 0.8414 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6989, allocations: 2.75 kB / 0.8414 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6989, allocations: 3.938 kB / 0.8414 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.6991, allocations: 26.86 kB / 0.8415 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6991, allocations: 2.75 kB / 0.8415 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.6993, allocations: 26.69 kB / 0.8415 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.6993, allocations: 9.672 kB / 0.8415 GB, free: 0.9492 MB / 0.6075 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.0001303/0.6995, allocations: 141.5 kB / 0.8416 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.6995, allocations: 25.83 kB / 0.8417 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.082e-05/0.6996, allocations: 33.17 kB / 0.8417 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.6996, allocations: 0 / 0.8417 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6996, allocations: 0 / 0.8417 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6996, allocations: 2.781 kB / 0.8417 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009923/0.7006, allocations: 0.6808 MB / 0.8424 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.7006, allocations: 6.75 kB / 0.8424 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.7008, allocations: 35.36 kB / 0.8424 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.7008, allocations: 6.547 kB / 0.8424 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.7008, allocations: 6.344 kB / 0.8424 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.7009, allocations: 1.969 kB / 0.8424 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.7009, allocations: 3.219 kB / 0.8424 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.7014, allocations: 351.1 kB / 0.8428 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.7015, allocations: 113.7 kB / 0.8429 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.7015, allocations: 12.48 kB / 0.8429 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.7017, allocations: 9.688 kB / 0.8429 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.7017, allocations: 19.14 kB / 0.8429 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.7018, allocations: 5.719 kB / 0.8429 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001622/0.7019, allocations: 181 kB / 0.8431 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7019, allocations: 0 / 0.8431 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003367/0.7023, allocations: 58.47 kB / 0.8431 GB, free: 15.61 MB / 0.6231 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.00101/0.7033, allocations: 0.953 MB / 0.8441 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.7038, allocations: 176.5 kB / 0.8442 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7038, allocations: 0 / 0.8442 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.704, allocations: 98.03 kB / 0.8443 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.7047, allocations: 126.5 kB / 0.8444 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.7077, allocations: 2.467 MB / 0.8469 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.708, allocations: 0.7538 MB / 0.8476 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002074/0.7082, allocations: 58.41 kB / 0.8476 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.7083, allocations: 64.25 kB / 0.8477 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.7083, allocations: 4 kB / 0.8477 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.7341, allocations: 6.95 MB / 0.8545 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.76, allocations: 9.875 kB / 0.8545 GB, free: 6.102 MB / 0.6231 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)