Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.001075/0.001075, allocations: 110.4 kB / 16.27 MB, free: 6.004 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.001732/0.001732, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7347/0.7347, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.89 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.318, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5061/0.824, allocations: 241.9 MB / 0.8035 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01392/0.838, allocations: 13.52 MB / 0.8167 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.8403, allocations: 59.62 kB / 0.8168 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.8427, allocations: 0.9833 MB / 0.8177 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004053/0.8467, allocations: 1.787 MB / 0.8195 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.8493, allocations: 1.224 MB / 0.8207 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003588/0.8529, allocations: 3.255 MB / 0.8238 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.8542, allocations: 1.06 MB / 0.8249 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007986/0.8622, allocations: 4.104 MB / 0.8289 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.8634, allocations: 0.8951 MB / 0.8298 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.8635, allocations: 77.06 kB / 0.8298 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.8648, allocations: 0.6998 MB / 0.8305 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.8651, allocations: 439.7 kB / 0.8309 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006474/0.8658, allocations: 0.6836 MB / 0.8316 GB, free: 80 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.8674, allocations: 1.499 MB / 0.8331 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.8674, allocations: 0 / 0.8331 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8674, allocations: 0 / 0.8331 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.8674, allocations: 1.25 kB / 0.8331 GB, free: 15.78 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001965/0.8694, allocations: 1.618 MB / 0.8346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.8694, allocations: 11.03 kB / 0.8347 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.8696, allocations: 129.2 kB / 0.8348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006286/0.8702, allocations: 207 kB / 0.835 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.8712, allocations: 0.828 MB / 0.8358 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.8714, allocations: 121.9 kB / 0.8359 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-05/0.8715, allocations: 87.47 kB / 0.836 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.8727, allocations: 0.9163 MB / 0.8369 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.8727, allocations: 4.875 kB / 0.8369 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.022e-05/0.8728, allocations: 40 kB / 0.8369 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.8728, allocations: 19.72 kB / 0.8369 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/0.8737, allocations: 0.513 MB / 0.8374 GB, free: 13.49 MB / 0.5919 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.003895/0.8776, allocations: 4.879 MB / 0.8422 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.8781, allocations: 417.2 kB / 0.8426 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.8784, allocations: 266.2 kB / 0.8429 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.8786, allocations: 98.66 kB / 0.843 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.8787, allocations: 53.45 kB / 0.843 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.8787, allocations: 2.719 kB / 0.843 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001591/0.8803, allocations: 0.7867 MB / 0.8438 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.8804, allocations: 393.4 kB / 0.8442 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.8817, allocations: 1.281 MB / 0.8454 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.8818, allocations: 39.55 kB / 0.8454 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/0.8822, allocations: 0.5546 MB / 0.846 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/0.8822, allocations: 117 kB / 0.8461 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.8823, allocations: 85.06 kB / 0.8462 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.8824, allocations: 316.4 kB / 0.8465 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.8826, allocations: 95.27 kB / 0.8466 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.883, allocations: 334.3 kB / 0.8469 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.8834, allocations: 330.3 kB / 0.8472 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8834, allocations: 0 / 0.8472 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007211/0.8842, allocations: 0.4909 MB / 0.8477 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.8842, allocations: 7.375 kB / 0.8477 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.8842, allocations: 2.891 kB / 0.8477 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002536/0.8845, allocations: 82.34 kB / 0.8478 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.8847, allocations: 52.5 kB / 0.8478 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.8868, allocations: 3.259 MB / 0.851 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000679/0.8875, allocations: 98.64 kB / 0.8511 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.8875, allocations: 18.22 kB / 0.8511 GB, free: 1.883 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003297/0.8879, allocations: 276.1 kB / 0.8514 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.8882, allocations: 138 kB / 0.8515 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.8884, allocations: 133.5 kB / 0.8516 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.8884, allocations: 5.469 kB / 0.8516 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.8884, allocations: 5.875 kB / 0.8516 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.8884, allocations: 6.188 kB / 0.8517 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.8912, allocations: 2.518 MB / 0.8541 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.8912, allocations: 12.66 kB / 0.8541 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.8913, allocations: 55.19 kB / 0.8542 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001574/0.8915, allocations: 75.67 kB / 0.8542 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.8915, allocations: 12.19 kB / 0.8543 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.8935, allocations: 3.253 MB / 0.8574 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.8936, allocations: 8.875 kB / 0.8574 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.8943, allocations: 0.6672 MB / 0.8581 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.8947, allocations: 251.5 kB / 0.8583 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.8948, allocations: 14.95 kB / 0.8583 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/0.8954, allocations: 42.55 kB / 0.8584 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.8955, allocations: 41.06 kB / 0.8584 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.8956, allocations: 21.39 kB / 0.8584 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009801/0.8965, allocations: 0.8772 MB / 0.8593 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8965, allocations: 4 kB / 0.8593 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009548/0.8975, allocations: 255.8 kB / 0.8596 GB, free: 10.18 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001554/0.8991, allocations: 1.33 MB / 0.8609 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009206/0.9, allocations: 0.5253 MB / 0.8614 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.9, allocations: 4 kB / 0.8614 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004977/0.9005, allocations: 398.5 kB / 0.8617 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/0.9037, allocations: 0.7505 MB / 0.8625 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.914, allocations: 9.01 MB / 0.8713 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/0.9147, allocations: 1.134 MB / 0.8724 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000909/0.9156, allocations: 245 kB / 0.8726 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/0.9161, allocations: 439.3 kB / 0.873 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.9161, allocations: 0 / 0.873 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06248/0.9786, allocations: 33.97 MB / 0.9062 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.492/10.47, allocations: 8.672 kB / 0.9062 GB, free: 10.39 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)