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.005758/0.005758, allocations: 99.61 kB / 15.73 MB, free: 6.031 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.001261/0.001261, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002085/0.002085, allocations: 294.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9293/0.9293, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 87.86 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4256, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.609/1.035, allocations: 241.9 MB / 1.002 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01391/1.049, allocations: 13.54 MB / 1.015 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/1.051, allocations: 60.28 kB / 1.015 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00228/1.053, allocations: 1.005 MB / 1.016 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004305/1.057, allocations: 1.865 MB / 1.018 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002772/1.06, allocations: 1.244 MB / 1.019 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003733/1.064, allocations: 3.267 MB / 1.023 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/1.066, allocations: 1.06 MB / 1.024 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008928/1.074, allocations: 4.261 MB / 1.028 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/1.076, allocations: 0.8957 MB / 1.029 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001913/1.076, allocations: 79.94 kB / 1.029 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/1.078, allocations: 0.6994 MB / 1.029 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003598/1.078, allocations: 439.2 kB / 1.03 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006912/1.079, allocations: 0.6842 MB / 1.031 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001999/1.081, allocations: 1.549 MB / 1.032 GB, free: 220 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/1.081, allocations: 3.188 kB / 1.032 GB, free: 220 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/1.081, allocations: 0.8125 kB / 1.032 GB, free: 220 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.811e-05/1.081, allocations: 0 / 1.032 GB, free: 220 kB / 0.7169 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.002244/1.083, allocations: 1.664 MB / 1.034 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.083, allocations: 10.72 kB / 1.034 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/1.083, allocations: 127.1 kB / 1.034 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006318/1.084, allocations: 208.7 kB / 1.034 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/1.085, allocations: 0.924 MB / 1.035 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/1.085, allocations: 124.1 kB / 1.035 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-05/1.086, allocations: 87.38 kB / 1.035 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/1.087, allocations: 0.9185 MB / 1.036 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/1.087, allocations: 6.469 kB / 1.036 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-05/1.087, allocations: 31.06 kB / 1.036 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/1.087, allocations: 21.38 kB / 1.036 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007646/1.088, allocations: 0.5098 MB / 1.037 GB, free: 14.38 MB / 0.7325 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.004163/1.092, allocations: 4.863 MB / 1.041 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/1.092, allocations: 421.8 kB / 1.042 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/1.093, allocations: 262.4 kB / 1.042 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/1.093, allocations: 106.6 kB / 1.042 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/1.093, allocations: 54.73 kB / 1.042 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/1.093, allocations: 3.938 kB / 1.042 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001761/1.095, allocations: 0.7933 MB / 1.043 GB, free: 10 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/1.095, allocations: 396.2 kB / 1.043 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/1.096, allocations: 1.272 MB / 1.045 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/1.096, allocations: 44.59 kB / 1.045 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004108/1.097, allocations: 0.55 MB / 1.045 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.21e-05/1.097, allocations: 111.2 kB / 1.045 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/1.097, allocations: 84.52 kB / 1.045 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/1.097, allocations: 316.5 kB / 1.046 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/1.097, allocations: 91.5 kB / 1.046 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/1.098, allocations: 341.4 kB / 1.046 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/1.098, allocations: 329.3 kB / 1.046 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.098, allocations: 1.281 kB / 1.046 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007964/1.099, allocations: 0.4886 MB / 1.047 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.099, allocations: 7.75 kB / 1.047 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.099, allocations: 9.219 kB / 1.047 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002842/1.099, allocations: 67.05 kB / 1.047 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/1.1, allocations: 62.27 kB / 1.047 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/1.102, allocations: 3.261 MB / 1.05 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007196/1.103, allocations: 96.02 kB / 1.05 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/1.103, allocations: 24.03 kB / 1.05 GB, free: 5.242 MB / 0.7325 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.0003222/1.103, allocations: 278.1 kB / 1.05 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/1.103, allocations: 144.6 kB / 1.051 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/1.103, allocations: 132.4 kB / 1.051 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.103, allocations: 5.5 kB / 1.051 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/1.103, allocations: 4.812 kB / 1.051 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.103, allocations: 8.859 kB / 1.051 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/1.106, allocations: 2.531 MB / 1.053 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.106, allocations: 9.859 kB / 1.053 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/1.107, allocations: 45.55 kB / 1.053 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/1.107, allocations: 80.53 kB / 1.053 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/1.107, allocations: 10.44 kB / 1.053 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/1.109, allocations: 3.265 MB / 1.057 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.109, allocations: 5.688 kB / 1.057 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007922/1.11, allocations: 0.6877 MB / 1.057 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/1.11, allocations: 251.7 kB / 1.057 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/1.11, allocations: 11.88 kB / 1.058 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/1.111, allocations: 45.66 kB / 1.058 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/1.111, allocations: 40.97 kB / 1.058 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/1.111, allocations: 19.41 kB / 1.058 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001007/1.112, allocations: 0.8795 MB / 1.058 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/1.112, allocations: 0 / 1.058 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009293/1.113, allocations: 259.4 kB / 1.059 GB, free: 15.32 MB / 0.7481 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.001343/1.114, allocations: 1.33 MB / 1.06 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008821/1.115, allocations: 0.5231 MB / 1.061 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.115, allocations: 0 / 1.061 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004851/1.116, allocations: 410.2 kB / 1.061 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/1.119, allocations: 0.7421 MB / 1.062 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00944/1.128, allocations: 8.239 MB / 1.07 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005937/1.129, allocations: 1.127 MB / 1.071 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007741/1.13, allocations: 242.5 kB / 1.071 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/1.13, allocations: 443.3 kB / 1.071 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/1.13, allocations: 2.531 kB / 1.071 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06739/1.198, allocations: 34.24 MB / 1.105 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.58, allocations: 12.23 kB / 1.105 GB, free: 4.344 MB / 0.7794 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)