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.004743/0.004743, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.001322/0.001322, allocations: 194.2 kB / 16.68 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002513/0.002513, allocations: 290.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 95.8 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4532, allocations: 86.98 MB / 0.7659 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6369/1.09, allocations: 241.9 MB / 1.002 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01372/1.104, allocations: 13.55 MB / 1.015 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/1.106, allocations: 59.19 kB / 1.015 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001974/1.108, allocations: 0.9732 MB / 1.016 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003519/1.111, allocations: 1.792 MB / 1.018 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002423/1.114, allocations: 1.237 MB / 1.019 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003146/1.117, allocations: 3.263 MB / 1.023 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/1.119, allocations: 1.053 MB / 1.024 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01179/1.131, allocations: 4.126 MB / 1.028 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/1.133, allocations: 0.903 MB / 1.028 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002185/1.133, allocations: 78.59 kB / 1.029 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/1.135, allocations: 0.6978 MB / 1.029 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005106/1.135, allocations: 439.5 kB / 1.03 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009016/1.136, allocations: 0.679 MB / 1.03 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00248/1.139, allocations: 1.554 MB / 1.032 GB, free: 244 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/1.139, allocations: 0 / 1.032 GB, free: 244 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/1.139, allocations: 0 / 1.032 GB, free: 244 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.899e-05/1.139, allocations: 1 kB / 1.032 GB, free: 244 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.003146/1.142, allocations: 1.67 MB / 1.033 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.142, allocations: 10.34 kB / 1.033 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/1.142, allocations: 126.3 kB / 1.034 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/1.143, allocations: 202.5 kB / 1.034 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/1.145, allocations: 0.9256 MB / 1.035 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/1.146, allocations: 124.9 kB / 1.035 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/1.146, allocations: 84.41 kB / 1.035 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/1.147, allocations: 0.9155 MB / 1.036 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/1.147, allocations: 7.953 kB / 1.036 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/1.147, allocations: 32.69 kB / 1.036 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/1.147, allocations: 21.88 kB / 1.036 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/1.148, allocations: 0.5063 MB / 1.036 GB, free: 14.42 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.006262/1.154, allocations: 4.865 MB / 1.041 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007922/1.155, allocations: 427.5 kB / 1.041 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005626/1.156, allocations: 266.7 kB / 1.042 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/1.156, allocations: 100.7 kB / 1.042 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/1.156, allocations: 55.91 kB / 1.042 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 3.636e-06/1.156, allocations: 0 / 1.042 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.002535/1.159, allocations: 0.7863 MB / 1.043 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002689/1.159, allocations: 399.6 kB / 1.043 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/1.161, allocations: 1.273 MB / 1.044 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.398e-05/1.161, allocations: 36.48 kB / 1.044 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005792/1.162, allocations: 0.5496 MB / 1.045 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/1.162, allocations: 116 kB / 1.045 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/1.162, allocations: 82.25 kB / 1.045 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.162, allocations: 320.8 kB / 1.045 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/1.162, allocations: 91.3 kB / 1.045 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/1.163, allocations: 342.9 kB / 1.046 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/1.164, allocations: 324.2 kB / 1.046 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.164, allocations: 1.219 kB / 1.046 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001207/1.165, allocations: 0.4932 MB / 1.047 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/1.165, allocations: 6.438 kB / 1.047 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/1.165, allocations: 11.81 kB / 1.047 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003408/1.165, allocations: 67.62 kB / 1.047 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/1.166, allocations: 55.69 kB / 1.047 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/1.169, allocations: 3.264 MB / 1.05 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007561/1.17, allocations: 101.5 kB / 1.05 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/1.17, allocations: 23.53 kB / 1.05 GB, free: 5.277 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.0003583/1.17, allocations: 274.7 kB / 1.05 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/1.17, allocations: 147.1 kB / 1.05 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/1.171, allocations: 133 kB / 1.051 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/1.171, allocations: 8.891 kB / 1.051 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.171, allocations: 5.625 kB / 1.051 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.171, allocations: 2.719 kB / 1.051 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/1.174, allocations: 2.532 MB / 1.053 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.174, allocations: 4.188 kB / 1.053 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/1.174, allocations: 51.36 kB / 1.053 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/1.174, allocations: 75.03 kB / 1.053 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/1.174, allocations: 10.5 kB / 1.053 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/1.177, allocations: 3.26 MB / 1.056 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.177, allocations: 9.875 kB / 1.056 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008895/1.178, allocations: 0.681 MB / 1.057 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/1.178, allocations: 256 kB / 1.057 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/1.178, allocations: 14.16 kB / 1.057 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/1.179, allocations: 37.94 kB / 1.057 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/1.179, allocations: 44.42 kB / 1.057 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/1.179, allocations: 20.72 kB / 1.057 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001011/1.18, allocations: 0.8735 MB / 1.058 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.18, allocations: 1.75 kB / 1.058 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008704/1.181, allocations: 261.9 kB / 1.058 GB, free: 15.57 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.001585/1.182, allocations: 1.342 MB / 1.06 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009053/1.183, allocations: 0.5192 MB / 1.06 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.183, allocations: 0 / 1.06 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005137/1.184, allocations: 403.7 kB / 1.061 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/1.187, allocations: 0.7486 MB / 1.061 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/1.197, allocations: 8.234 MB / 1.069 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009747/1.198, allocations: 1.134 MB / 1.071 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000836/1.199, allocations: 238.5 kB / 1.071 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/1.2, allocations: 443.3 kB / 1.071 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/1.2, allocations: 0 / 1.071 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0762/1.276, allocations: 34.25 MB / 1.105 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/13.19, allocations: 8.922 kB / 1.105 GB, free: 4.73 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)