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: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 103 kB / 16.4 MB, free: 6.449 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.001352/0.001352, allocations: 192 kB / 17.34 MB, free: 5.703 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.517/1.517, allocations: 222.9 MB / 241 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.002555/0.002555, allocations: 297.5 kB / 291.5 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.088/1.088, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 91.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5488/0.5515, allocations: 86.97 MB / 0.7671 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8095/1.361, allocations: 242.5 MB / 1.004 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01679/1.378, allocations: 13.56 MB / 1.017 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/1.38, allocations: 57.47 kB / 1.017 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002369/1.383, allocations: 1.015 MB / 1.018 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004548/1.387, allocations: 1.867 MB / 1.02 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/1.39, allocations: 1.243 MB / 1.021 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004294/1.394, allocations: 3.257 MB / 1.024 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/1.396, allocations: 0.8764 MB / 1.025 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008914/1.405, allocations: 4.263 MB / 1.029 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/1.406, allocations: 0.9 MB / 1.03 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/1.406, allocations: 77.53 kB / 1.03 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/1.408, allocations: 0.7004 MB / 1.031 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003552/1.408, allocations: 455 kB / 1.031 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006944/1.409, allocations: 0.6823 MB / 1.032 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/1.411, allocations: 1.552 MB / 1.034 GB, free: 224 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.411, allocations: 0 / 1.034 GB, free: 224 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/1.411, allocations: 0.8438 kB / 1.034 GB, free: 224 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.145e-05/1.411, allocations: 2.188 kB / 1.034 GB, free: 224 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.002383/1.413, allocations: 1.669 MB / 1.035 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/1.413, allocations: 10.73 kB / 1.035 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006738/1.414, allocations: 205.8 kB / 1.035 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/1.416, allocations: 0.9188 MB / 1.036 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/1.416, allocations: 123.6 kB / 1.036 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.359e-05/1.416, allocations: 86.38 kB / 1.037 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/1.417, allocations: 0.9184 MB / 1.037 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/1.417, allocations: 5.219 kB / 1.037 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/1.417, allocations: 34.12 kB / 1.038 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/1.417, allocations: 21.94 kB / 1.038 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/1.418, allocations: 0.5057 MB / 1.038 GB, free: 14.46 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.005217/1.423, allocations: 4.87 MB / 1.043 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006319/1.424, allocations: 411 kB / 1.043 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/1.424, allocations: 253.6 kB / 1.043 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/1.424, allocations: 106.2 kB / 1.044 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/1.424, allocations: 62.41 kB / 1.044 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.134e-06/1.424, allocations: 3.938 kB / 1.044 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001874/1.426, allocations: 0.777 MB / 1.044 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002496/1.426, allocations: 398.9 kB / 1.045 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/1.428, allocations: 1.269 MB / 1.046 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/1.428, allocations: 47.48 kB / 1.046 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/1.428, allocations: 0.5482 MB / 1.047 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.308e-05/1.428, allocations: 118.8 kB / 1.047 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/1.429, allocations: 83 kB / 1.047 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.429, allocations: 321.8 kB / 1.047 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/1.429, allocations: 87.12 kB / 1.047 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/1.429, allocations: 342.6 kB / 1.047 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/1.43, allocations: 325.2 kB / 1.048 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.43, allocations: 1.281 kB / 1.048 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009181/1.431, allocations: 0.4936 MB / 1.048 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.431, allocations: 5.469 kB / 1.048 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.431, allocations: 3.844 kB / 1.048 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003341/1.431, allocations: 79.45 kB / 1.048 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/1.431, allocations: 58.11 kB / 1.048 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/1.434, allocations: 3.251 MB / 1.052 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008244/1.435, allocations: 101.3 kB / 1.052 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/1.435, allocations: 23.53 kB / 1.052 GB, free: 5.32 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.0004424/1.435, allocations: 289.1 kB / 1.052 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/1.436, allocations: 144.5 kB / 1.052 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/1.436, allocations: 129.7 kB / 1.052 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.436, allocations: 7.406 kB / 1.052 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.436, allocations: 7.734 kB / 1.052 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/1.436, allocations: 2.875 kB / 1.052 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/1.439, allocations: 2.523 MB / 1.055 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.439, allocations: 5.094 kB / 1.055 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/1.44, allocations: 51.84 kB / 1.055 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001669/1.44, allocations: 72.5 kB / 1.055 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/1.44, allocations: 9.469 kB / 1.055 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/1.442, allocations: 3.262 MB / 1.058 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.442, allocations: 8.125 kB / 1.058 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/1.443, allocations: 0.6874 MB / 1.059 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/1.444, allocations: 255.9 kB / 1.059 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.444, allocations: 9.344 kB / 1.059 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/1.445, allocations: 49.38 kB / 1.059 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/1.445, allocations: 40.5 kB / 1.059 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/1.445, allocations: 15.97 kB / 1.059 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001206/1.446, allocations: 0.8801 MB / 1.06 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/1.446, allocations: 2.844 kB / 1.06 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001035/1.447, allocations: 255.2 kB / 1.06 GB, free: 15.38 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.000488/1.448, allocations: 221.5 kB / 1.06 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009549/1.449, allocations: 0.5154 MB / 1.061 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.449, allocations: 2.75 kB / 1.061 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005369/1.449, allocations: 400 kB / 1.061 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.452, allocations: 0.7439 MB / 1.062 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/1.455, allocations: 1.855 MB / 1.064 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/1.456, allocations: 1.135 MB / 1.065 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007599/1.456, allocations: 247.8 kB / 1.065 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/1.456, allocations: 78.12 kB / 1.065 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/1.456, allocations: 0 / 1.065 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of Templates: time 0.04415/1.501, allocations: 23.45 MB / 1.088 GB, free: 7.586 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)