Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 108.7 kB / 16.41 MB, free: 6.426 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.001118/0.001118, allocations: 189.2 kB / 17.34 MB, free: 5.73 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6812/0.6812, allocations: 115.3 MB / 406.5 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 66.11 kB / 0.5577 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1332, allocations: 76.18 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5086/0.6419, allocations: 161.5 MB / 0.7898 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002499/0.6444, allocations: 1.713 MB / 0.7914 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.6447, allocations: 10.81 kB / 0.7914 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.6453, allocations: 159.7 kB / 0.7916 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.6465, allocations: 0.5109 MB / 0.7921 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009983/0.6475, allocations: 425 kB / 0.7925 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007258/0.6482, allocations: 0.566 MB / 0.7931 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.6485, allocations: 175.6 kB / 0.7932 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005953/0.6492, allocations: 327.9 kB / 0.7935 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.6494, allocations: 153 kB / 0.7937 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.6494, allocations: 12.38 kB / 0.7937 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.6505, allocations: 0.6958 MB / 0.7944 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.878e-05/0.6506, allocations: 81.81 kB / 0.7944 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.6507, allocations: 114 kB / 0.7946 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006658/0.6514, allocations: 0.5027 MB / 0.795 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6514, allocations: 0 / 0.795 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6514, allocations: 0 / 0.795 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.6514, allocations: 2.094 kB / 0.795 GB, free: 13.21 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007528/0.6522, allocations: 0.5725 MB / 0.7956 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6522, allocations: 10.19 kB / 0.7956 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.6526, allocations: 55.7 kB / 0.7957 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.653, allocations: 311.3 kB / 0.796 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.653, allocations: 13.22 kB / 0.796 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.653, allocations: 13.41 kB / 0.796 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.6534, allocations: 201.2 kB / 0.7962 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.6534, allocations: 0 / 0.7962 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.6534, allocations: 5.562 kB / 0.7962 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.6534, allocations: 6.188 kB / 0.7962 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.6537, allocations: 134.6 kB / 0.7963 GB, free: 12.41 MB / 0.5919 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.0009093/0.6546, allocations: 0.7747 MB / 0.7971 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.6549, allocations: 86.78 kB / 0.7972 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.655, allocations: 77.98 kB / 0.7972 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.6553, allocations: 181.9 kB / 0.7974 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.6553, allocations: 42 kB / 0.7975 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.6553, allocations: 0 / 0.7975 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006142/0.6559, allocations: 222 kB / 0.7977 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.656, allocations: 51.41 kB / 0.7977 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.6562, allocations: 267.2 kB / 0.798 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.6563, allocations: 32.14 kB / 0.798 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.881e-05/0.6564, allocations: 144.1 kB / 0.7981 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.6564, allocations: 37.89 kB / 0.7982 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.6565, allocations: 29.55 kB / 0.7982 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6566, allocations: 332.9 kB / 0.7985 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.6568, allocations: 52.03 kB / 0.7986 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.6569, allocations: 94.27 kB / 0.7987 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.6572, allocations: 122.4 kB / 0.7988 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6572, allocations: 2.781 kB / 0.7988 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003246/0.6575, allocations: 157.8 kB / 0.7989 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.6576, allocations: 6.984 kB / 0.7989 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.6576, allocations: 0 / 0.7989 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.6576, allocations: 6.688 kB / 0.7989 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.6577, allocations: 24.41 kB / 0.799 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.6577, allocations: 2.75 kB / 0.799 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.6579, allocations: 16.75 kB / 0.799 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.6579, allocations: 9 kB / 0.799 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001797/0.6581, allocations: 147.7 kB / 0.7991 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001495/0.6583, allocations: 93.59 kB / 0.7992 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002262/0.6585, allocations: 120.9 kB / 0.7993 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.6585, allocations: 0 / 0.7993 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003075/0.6588, allocations: 153.1 kB / 0.7995 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.605e-06/0.6588, allocations: 5.031 kB / 0.7995 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-06/0.6589, allocations: 0 / 0.7995 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.6589, allocations: 2.656 kB / 0.7995 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.659, allocations: 30.45 kB / 0.7995 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.659, allocations: 7.938 kB / 0.7995 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.6592, allocations: 20.5 kB / 0.7995 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.6592, allocations: 3.469 kB / 0.7995 GB, free: 10.52 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.638e-05/0.6593, allocations: 192 kB / 0.7997 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.6593, allocations: 22.28 kB / 0.7998 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.6597, allocations: 169.5 kB / 0.7999 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.6597, allocations: 6.438 kB / 0.7999 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6597, allocations: 0 / 0.7999 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6597, allocations: 0 / 0.7999 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007958/0.6605, allocations: 0.5925 MB / 0.8005 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6605, allocations: 4.312 kB / 0.8005 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.6606, allocations: 18.5 kB / 0.8005 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6606, allocations: 5.891 kB / 0.8005 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.6607, allocations: 5.781 kB / 0.8005 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6607, allocations: 0 / 0.8005 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6607, allocations: 8.719 kB / 0.8005 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.661, allocations: 298.7 kB / 0.8008 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.139e-05/0.6611, allocations: 114 kB / 0.8009 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.6611, allocations: 8.328 kB / 0.8009 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.6613, allocations: 12.97 kB / 0.801 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.6614, allocations: 14.19 kB / 0.801 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.6614, allocations: 6 kB / 0.801 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001447/0.6615, allocations: 203 kB / 0.8012 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6615, allocations: 1.203 kB / 0.8012 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004369/0.662, allocations: 96.34 kB / 0.8013 GB, free: 9.469 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003192/0.6623, allocations: 165.2 kB / 0.8014 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004193/0.6627, allocations: 169.6 kB / 0.8016 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6627, allocations: 0 / 0.8016 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.6629, allocations: 64.33 kB / 0.8016 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/0.6635, allocations: 117.1 kB / 0.8018 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.6641, allocations: 431.4 kB / 0.8022 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.6644, allocations: 0.7606 MB / 0.8029 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.6646, allocations: 68.19 kB / 0.803 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.6646, allocations: 19.81 kB / 0.803 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.6646, allocations: 0 / 0.803 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of Templates: time 0.007142/0.6718, allocations: 4.397 MB / 0.8073 GB, free: 6.516 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)