Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_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.007071/0.007071, allocations: 97.81 kB / 15.73 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.001595/0.001595, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002496/0.002496, allocations: 287 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.205/1.205, allocations: 178.5 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 95.84 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3745, allocations: 89.13 MB / 0.7814 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6309/1.005, allocations: 241.9 MB / 1.018 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01475/1.02, allocations: 13.53 MB / 1.031 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/1.023, allocations: 59.19 kB / 1.031 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002097/1.025, allocations: 0.9765 MB / 1.032 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00445/1.029, allocations: 1.78 MB / 1.034 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/1.032, allocations: 1.25 MB / 1.035 GB, free: 1.59 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003458/1.035, allocations: 3.256 MB / 1.038 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/1.037, allocations: 1.058 MB / 1.039 GB, free: 1.461 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007461/1.044, allocations: 4.119 MB / 1.043 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/1.045, allocations: 0.8991 MB / 1.044 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/1.045, allocations: 79.56 kB / 1.044 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/1.047, allocations: 0.6972 MB / 1.045 GB, free: 1.348 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003232/1.047, allocations: 443.5 kB / 1.045 GB, free: 1.344 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006098/1.047, allocations: 0.6858 MB / 1.046 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/1.049, allocations: 1.519 MB / 1.047 GB, free: 0.9727 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/1.049, allocations: 3.594 kB / 1.047 GB, free: 0.9727 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.213e-06/1.049, allocations: 0 / 1.047 GB, free: 0.9727 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.382e-05/1.049, allocations: 0.9688 kB / 1.047 GB, free: 0.9727 MB / 0.7481 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.001842/1.051, allocations: 1.663 MB / 1.049 GB, free: 16.04 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/1.051, allocations: 7.656 kB / 1.049 GB, free: 16.04 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/1.051, allocations: 135 kB / 1.049 GB, free: 16 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005526/1.051, allocations: 203.7 kB / 1.049 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/1.053, allocations: 0.9163 MB / 1.05 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/1.053, allocations: 118.6 kB / 1.05 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-05/1.053, allocations: 86.56 kB / 1.05 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/1.054, allocations: 0.9158 MB / 1.051 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/1.054, allocations: 3.188 kB / 1.051 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/1.054, allocations: 35.94 kB / 1.051 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/1.054, allocations: 25.59 kB / 1.051 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007735/1.055, allocations: 0.5075 MB / 1.052 GB, free: 15.17 MB / 0.7637 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.004228/1.059, allocations: 4.873 MB / 1.056 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/1.06, allocations: 416.3 kB / 1.057 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/1.06, allocations: 274.5 kB / 1.057 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/1.06, allocations: 103.6 kB / 1.057 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/1.06, allocations: 49.88 kB / 1.057 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=31): time 1.883e-06/1.06, allocations: 0 / 1.057 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of matching and sorting (n=31): time 0.001616/1.062, allocations: 0.7816 MB / 1.058 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002044/1.062, allocations: 403.6 kB / 1.058 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/1.063, allocations: 1.278 MB / 1.06 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/1.063, allocations: 36.83 kB / 1.06 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/1.064, allocations: 0.5529 MB / 1.06 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.593e-05/1.064, allocations: 109.6 kB / 1.06 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/1.064, allocations: 87.38 kB / 1.06 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.064, allocations: 324.9 kB / 1.061 GB, free: 9.645 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/1.064, allocations: 91.02 kB / 1.061 GB, free: 9.645 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/1.065, allocations: 342.5 kB / 1.061 GB, free: 9.387 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/1.065, allocations: 324.4 kB / 1.061 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.065, allocations: 0 / 1.061 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007449/1.066, allocations: 0.4982 MB / 1.062 GB, free: 9.133 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.066, allocations: 9.062 kB / 1.062 GB, free: 9.129 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.066, allocations: 3.375 kB / 1.062 GB, free: 9.129 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/1.066, allocations: 71.89 kB / 1.062 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/1.066, allocations: 59.06 kB / 1.062 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/1.069, allocations: 3.262 MB / 1.065 GB, free: 6.113 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/1.07, allocations: 100.8 kB / 1.065 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/1.07, allocations: 20.39 kB / 1.065 GB, free: 6.066 MB / 0.7637 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.0003176/1.07, allocations: 281.8 kB / 1.066 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/1.07, allocations: 145.2 kB / 1.066 GB, free: 5.867 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/1.071, allocations: 129.8 kB / 1.066 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.071, allocations: 4.969 kB / 1.066 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.071, allocations: 5.281 kB / 1.066 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.071, allocations: 11.12 kB / 1.066 GB, free: 5.844 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/1.074, allocations: 2.519 MB / 1.068 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.074, allocations: 4.875 kB / 1.068 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/1.074, allocations: 47.69 kB / 1.068 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/1.074, allocations: 73.44 kB / 1.069 GB, free: 4.324 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/1.074, allocations: 14.25 kB / 1.069 GB, free: 4.32 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/1.076, allocations: 3.264 MB / 1.072 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.076, allocations: 11.66 kB / 1.072 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007993/1.077, allocations: 0.6767 MB / 1.072 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/1.078, allocations: 257.2 kB / 1.073 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/1.078, allocations: 12.39 kB / 1.073 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006219/1.078, allocations: 45.22 kB / 1.073 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/1.078, allocations: 35.55 kB / 1.073 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/1.078, allocations: 24.33 kB / 1.073 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009013/1.079, allocations: 0.8784 MB / 1.074 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/1.079, allocations: 4 kB / 1.074 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008026/1.08, allocations: 257 kB / 1.074 GB, free: 0.5859 MB / 0.7637 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.00143/1.082, allocations: 1.338 MB / 1.075 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008/1.082, allocations: 0.5213 MB / 1.076 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.082, allocations: 3.312 kB / 1.076 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004821/1.083, allocations: 406 kB / 1.076 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/1.086, allocations: 0.7453 MB / 1.077 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009139/1.095, allocations: 8.234 MB / 1.085 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/1.096, allocations: 1.133 MB / 1.086 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006487/1.097, allocations: 245 kB / 1.086 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/1.097, allocations: 440.2 kB / 1.087 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/1.097, allocations: 0 / 1.087 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07099/1.168, allocations: 34.27 MB / 1.12 GB, free: 1.41 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.91, allocations: 11.58 kB / 1.12 GB, free: 1.398 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)