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.0009761/0.000976, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 177.7 kB / 16.57 MB, free: 6.859 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.452/1.452, allocations: 223.2 MB / 240.5 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6919/0.6919, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003266, allocations: 15.98 kB / 493 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1997, allocations: 77.16 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5318/0.7316, allocations: 135.6 MB / 0.6893 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003244/0.7349, allocations: 1.631 MB / 0.6908 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/0.7352, allocations: 7.938 kB / 0.6909 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005791/0.7358, allocations: 171.2 kB / 0.691 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.7374, allocations: 0.4946 MB / 0.6915 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.7389, allocations: 433.7 kB / 0.6919 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006658/0.7395, allocations: 364.1 kB / 0.6923 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.7399, allocations: 136.5 kB / 0.6924 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.7403, allocations: 215.3 kB / 0.6926 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.7404, allocations: 103.5 kB / 0.6927 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.7405, allocations: 8 kB / 0.6927 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007455/0.7412, allocations: 391.3 kB / 0.6931 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.487e-05/0.7413, allocations: 63.8 kB / 0.6931 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.747e-05/0.7414, allocations: 69.58 kB / 0.6932 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.7418, allocations: 281.6 kB / 0.6935 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.7418, allocations: 3.938 kB / 0.6935 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7418, allocations: 0 / 0.6935 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.7419, allocations: 0 / 0.6935 GB, free: 14.05 MB / 0.5137 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.000779/0.7426, allocations: 0.5318 MB / 0.694 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.7427, allocations: 8.031 kB / 0.694 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003565/0.7431, allocations: 51.67 kB / 0.6941 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.7435, allocations: 277.5 kB / 0.6943 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.7435, allocations: 8 kB / 0.6943 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.7435, allocations: 16 kB / 0.6943 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.7439, allocations: 208.1 kB / 0.6945 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.7439, allocations: 3.953 kB / 0.6945 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.744, allocations: 7.984 kB / 0.6945 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.744, allocations: 4 kB / 0.6946 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.7443, allocations: 143.4 kB / 0.6947 GB, free: 12.71 MB / 0.5137 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.001029/0.7453, allocations: 0.777 MB / 0.6954 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.7456, allocations: 94.78 kB / 0.6955 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.578e-05/0.7457, allocations: 15.92 kB / 0.6956 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.7457, allocations: 38.52 kB / 0.6956 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.7457, allocations: 3.938 kB / 0.6956 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0006961/0.7464, allocations: 233.5 kB / 0.6958 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.7464, allocations: 55.41 kB / 0.6959 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.7467, allocations: 263 kB / 0.6961 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.7468, allocations: 29.7 kB / 0.6961 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.7469, allocations: 151.9 kB / 0.6963 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.7469, allocations: 39.47 kB / 0.6963 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.7469, allocations: 4 kB / 0.6963 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.7471, allocations: 330.8 kB / 0.6967 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.7472, allocations: 43.97 kB / 0.6967 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.7474, allocations: 93.11 kB / 0.6968 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.7475, allocations: 63.89 kB / 0.6968 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7475, allocations: 0 / 0.6968 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003191/0.7479, allocations: 165.3 kB / 0.697 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.748, allocations: 370.2 kB / 0.6974 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.748, allocations: 0 / 0.6974 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.7481, allocations: 0 / 0.6974 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.7482, allocations: 27.92 kB / 0.6974 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.7482, allocations: 4 kB / 0.6974 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.7484, allocations: 31.84 kB / 0.6974 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.7484, allocations: 4 kB / 0.6974 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.7484, allocations: 4 kB / 0.6974 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000319/0.7488, allocations: 119.9 kB / 0.6975 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.7488, allocations: 0 / 0.6975 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-06/0.7488, allocations: 4 kB / 0.6975 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.7489, allocations: 23.92 kB / 0.6976 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.7489, allocations: 4 kB / 0.6976 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.7491, allocations: 19.92 kB / 0.6976 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.7491, allocations: 15.38 kB / 0.6976 GB, free: 9.555 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.7493, allocations: 217.1 kB / 0.6978 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.7493, allocations: 27.67 kB / 0.6978 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.7497, allocations: 167.6 kB / 0.698 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.7497, allocations: 8 kB / 0.698 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.7497, allocations: 0 / 0.698 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.7497, allocations: 96 / 0.698 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008955/0.7506, allocations: 0.6052 MB / 0.6986 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.7507, allocations: 4 kB / 0.6986 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.7508, allocations: 23.98 kB / 0.6986 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.7508, allocations: 8.219 kB / 0.6986 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.7508, allocations: 4 kB / 0.6986 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.7508, allocations: 7.984 kB / 0.6986 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7508, allocations: 3.938 kB / 0.6986 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.7512, allocations: 385.1 kB / 0.699 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.7514, allocations: 112.8 kB / 0.6991 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.7514, allocations: 4 kB / 0.6991 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.7516, allocations: 23.98 kB / 0.6991 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.7517, allocations: 11.94 kB / 0.6992 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.7517, allocations: 4 kB / 0.6992 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001925/0.7519, allocations: 197.9 kB / 0.6993 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7519, allocations: 0 / 0.6993 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004709/0.7524, allocations: 91.84 kB / 0.6994 GB, free: 7.477 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004454/0.7528, allocations: 173.6 kB / 0.6996 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004716/0.7533, allocations: 175.8 kB / 0.6998 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7533, allocations: 0 / 0.6998 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.7535, allocations: 67.83 kB / 0.6998 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008085/0.7543, allocations: 134.6 kB / 0.7 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/0.755, allocations: 0.49 MB / 0.7004 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.7554, allocations: 0.7638 MB / 0.7012 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002109/0.7556, allocations: 78.14 kB / 0.7013 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.7557, allocations: 19.44 kB / 0.7013 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.7557, allocations: 0 / 0.7013 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of Templates: time 0.007855/0.7635, allocations: 4.117 MB / 0.7053 GB, free: 1.484 MB / 0.5137 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)