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.007254/0.007254, allocations: 103.9 kB / 15.73 MB, free: 6.035 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.001252/0.001252, allocations: 196 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002159/0.002159, allocations: 282.7 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9448/0.9448, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 100.6 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1824, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5765/0.7589, allocations: 241.9 MB / 1.002 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01854/0.7775, allocations: 13.53 MB / 1.015 GB, free: 3.457 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.7795, allocations: 55.62 kB / 1.015 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.7823, allocations: 0.9938 MB / 1.016 GB, free: 2.402 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004615/0.7869, allocations: 1.774 MB / 1.018 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.79, allocations: 1.236 MB / 1.019 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004236/0.7942, allocations: 3.262 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.796, allocations: 1.055 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008756/0.8048, allocations: 4.141 MB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.8063, allocations: 0.9021 MB / 1.028 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003174/0.8066, allocations: 76 kB / 1.029 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.8085, allocations: 0.6975 MB / 1.029 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006847/0.8092, allocations: 438.6 kB / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.8102, allocations: 0.68 MB / 1.03 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.8123, allocations: 1.549 MB / 1.032 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.8123, allocations: 8 kB / 1.032 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8124, allocations: 0 / 1.032 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.572e-05/0.8124, allocations: 4 kB / 1.032 GB, free: 2.527 MB / 0.7794 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.002215/0.8146, allocations: 1.623 MB / 1.033 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.8147, allocations: 12.03 kB / 1.033 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.8148, allocations: 118.7 kB / 1.034 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006549/0.8155, allocations: 202.1 kB / 1.034 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.8169, allocations: 0.9128 MB / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.817, allocations: 121.4 kB / 1.035 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/0.8171, allocations: 83.98 kB / 1.035 GB, free: 15.33 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.8185, allocations: 0.9221 MB / 1.036 GB, free: 14.32 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.8185, allocations: 7.938 kB / 1.036 GB, free: 14.31 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.8186, allocations: 32 kB / 1.036 GB, free: 14.28 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.8186, allocations: 20 kB / 1.036 GB, free: 14.26 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008702/0.8195, allocations: 0.5049 MB / 1.036 GB, free: 13.76 MB / 0.795 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.004921/0.8244, allocations: 4.853 MB / 1.041 GB, free: 8.594 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.825, allocations: 416.7 kB / 1.041 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.8253, allocations: 264.6 kB / 1.042 GB, free: 7.758 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001813/0.8255, allocations: 109 kB / 1.042 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.8256, allocations: 50.66 kB / 1.042 GB, free: 7.574 MB / 0.795 GB Notification: Performance of pre-optimization done (n=31): time 2.175e-06/0.8256, allocations: 0 / 1.042 GB, free: 7.574 MB / 0.795 GB Notification: Performance of matching and sorting (n=31): time 0.001847/0.8274, allocations: 0.7881 MB / 1.043 GB, free: 6.738 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001994/0.8276, allocations: 405.4 kB / 1.043 GB, free: 6.25 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.8291, allocations: 1.275 MB / 1.044 GB, free: 4.965 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.8291, allocations: 33.7 kB / 1.044 GB, free: 4.926 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.8296, allocations: 0.5496 MB / 1.045 GB, free: 4.371 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.651e-05/0.8297, allocations: 110.4 kB / 1.045 GB, free: 4.262 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.8298, allocations: 85.61 kB / 1.045 GB, free: 4.172 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.8299, allocations: 321.9 kB / 1.045 GB, free: 3.852 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.8301, allocations: 91.92 kB / 1.045 GB, free: 3.762 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.8305, allocations: 339.6 kB / 1.046 GB, free: 3.336 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.831, allocations: 324.6 kB / 1.046 GB, free: 2.973 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.831, allocations: 0 / 1.046 GB, free: 2.973 MB / 0.795 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007892/0.8318, allocations: 0.4897 MB / 1.046 GB, free: 2.469 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.8318, allocations: 8 kB / 1.046 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.8318, allocations: 4 kB / 1.046 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/0.8321, allocations: 65.67 kB / 1.047 GB, free: 2.387 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.8323, allocations: 61.22 kB / 1.047 GB, free: 2.328 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.8347, allocations: 3.256 MB / 1.05 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006943/0.8355, allocations: 91.08 kB / 1.05 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.8355, allocations: 23.98 kB / 1.05 GB, free: 14.68 MB / 0.8106 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.0003848/0.8359, allocations: 275.1 kB / 1.05 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.8363, allocations: 142.5 kB / 1.05 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.8365, allocations: 124.1 kB / 1.05 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.8365, allocations: 11.98 kB / 1.05 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.8365, allocations: 15.88 kB / 1.05 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.8365, allocations: 4 kB / 1.05 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.84, allocations: 2.524 MB / 1.053 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.8401, allocations: 7.984 kB / 1.053 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.8402, allocations: 47.92 kB / 1.053 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/0.8405, allocations: 69.95 kB / 1.053 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.8405, allocations: 16 kB / 1.053 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.843, allocations: 3.262 MB / 1.056 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.843, allocations: 7.938 kB / 1.056 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.844, allocations: 0.6768 MB / 1.057 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/0.8446, allocations: 251.3 kB / 1.057 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.8447, allocations: 12 kB / 1.057 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006488/0.8454, allocations: 39.95 kB / 1.057 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.831e-05/0.8455, allocations: 47.77 kB / 1.057 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.8455, allocations: 24 kB / 1.057 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001099/0.8466, allocations: 0.8724 MB / 1.058 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8466, allocations: 4 kB / 1.058 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009505/0.8476, allocations: 259.8 kB / 1.058 GB, free: 5.465 MB / 0.8106 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.001477/0.8491, allocations: 1.322 MB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009398/0.85, allocations: 0.5244 MB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.85, allocations: 4.188 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.8505, allocations: 407 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/0.8535, allocations: 0.7343 MB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.8637, allocations: 8.217 MB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/0.8645, allocations: 1.131 MB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000828/0.8653, allocations: 242.5 kB / 1.071 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/0.8659, allocations: 443.3 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.8659, allocations: 0 / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3872/1.253, allocations: 34.82 MB / 1.105 GB, free: 293.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.69, allocations: 7.891 kB / 1.105 GB, free: 293.6 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)