Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001151/0.001151, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9617/0.9617, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 55.56 kB / 0.5049 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1758, allocations: 80.94 MB / 0.5839 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5318/0.7076, allocations: 191.5 MB / 0.7709 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.7182, allocations: 6.883 MB / 0.7776 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.7197, allocations: 39.69 kB / 0.7776 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.7216, allocations: 0.5945 MB / 0.7782 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005657/0.7273, allocations: 2.202 MB / 0.7804 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.7308, allocations: 1.305 MB / 0.7816 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004505/0.7353, allocations: 2.998 MB / 0.7846 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.7368, allocations: 0.9133 MB / 0.7854 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002916/0.7398, allocations: 1.165 MB / 0.7866 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.7412, allocations: 0.8281 MB / 0.7874 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.7414, allocations: 104 kB / 0.7875 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003772/0.7452, allocations: 2.136 MB / 0.7896 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.7456, allocations: 370.8 kB / 0.7899 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006834/0.7463, allocations: 0.587 MB / 0.7905 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003415/0.7497, allocations: 2.493 MB / 0.7929 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.7497, allocations: 0 / 0.7929 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7498, allocations: 0 / 0.7929 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.7498, allocations: 0 / 0.7929 GB, free: 7.105 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003235/0.753, allocations: 1.629 MB / 0.7945 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.7531, allocations: 12.03 kB / 0.7945 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/0.756, allocations: 0.5292 MB / 0.7951 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.758, allocations: 1.001 MB / 0.796 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001328/0.7594, allocations: 281 kB / 0.7963 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.7595, allocations: 64 kB / 0.7964 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.762, allocations: 1.128 MB / 0.7975 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.762, allocations: 0 / 0.7975 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.862e-05/0.7621, allocations: 28 kB / 0.7975 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/0.7622, allocations: 37.3 kB / 0.7975 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003199/0.7654, allocations: 1.196 MB / 0.7987 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005771/0.7712, allocations: 3.199 MB / 0.8018 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.7729, allocations: 0.6857 MB / 0.8025 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008035/0.7737, allocations: 425 kB / 0.8029 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009718/0.7747, allocations: 1.029 MB / 0.8039 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.7758, allocations: 0.5143 MB / 0.8044 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.625e-06/0.7758, allocations: 0 / 0.8044 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.002899/0.7787, allocations: 1.221 MB / 0.8056 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.7788, allocations: 148.8 kB / 0.8057 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.7807, allocations: 1.196 MB / 0.8069 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.953e-05/0.7808, allocations: 41.7 kB / 0.8069 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.7812, allocations: 437.4 kB / 0.8074 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.7814, allocations: 189.4 kB / 0.8075 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.7817, allocations: 146 kB / 0.8077 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7818, allocations: 333.9 kB / 0.808 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.7831, allocations: 460.9 kB / 0.8084 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.7847, allocations: 0.6132 MB / 0.809 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.7868, allocations: 0.9418 MB / 0.81 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7868, allocations: 0 / 0.81 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003201/0.79, allocations: 1.232 MB / 0.8112 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.751e-05/0.7901, allocations: 45.69 kB / 0.8112 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.7901, allocations: 0 / 0.8112 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.695e-05/0.7902, allocations: 11.94 kB / 0.8112 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.7912, allocations: 200 kB / 0.8114 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.7912, allocations: 8 kB / 0.8114 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.7928, allocations: 269.1 kB / 0.8117 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.784e-05/0.7929, allocations: 43.97 kB / 0.8117 GB, free: 3.215 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0004502/0.7933, allocations: 323.3 kB / 0.812 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.7935, allocations: 122.5 kB / 0.8121 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.7956, allocations: 0.9893 MB / 0.8131 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.7956, allocations: 15.94 kB / 0.8131 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.7956, allocations: 0 / 0.8131 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.7956, allocations: 4.5 kB / 0.8131 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/0.8004, allocations: 3.157 MB / 0.8162 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.8004, allocations: 8 kB / 0.8162 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005902/0.801, allocations: 120.3 kB / 0.8163 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2e-05/0.8011, allocations: 12 kB / 0.8163 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.8011, allocations: 27.97 kB / 0.8164 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/0.8011, allocations: 15.94 kB / 0.8164 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.8012, allocations: 15.92 kB / 0.8164 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.8034, allocations: 1.339 MB / 0.8177 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005694/0.8039, allocations: 323.4 kB / 0.818 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.8041, allocations: 23.98 kB / 0.818 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.8053, allocations: 115.9 kB / 0.8181 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.8054, allocations: 59.75 kB / 0.8182 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.359e-05/0.8055, allocations: 43.97 kB / 0.8182 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001524/0.807, allocations: 0.8716 MB / 0.8191 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.807, allocations: 0 / 0.8191 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001027/0.8081, allocations: 299.8 kB / 0.8194 GB, free: 11.03 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0006785/0.8088, allocations: 352.6 kB / 0.8197 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002507/0.8113, allocations: 1.052 MB / 0.8207 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.8113, allocations: 4.125 kB / 0.8207 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000943/0.8122, allocations: 0.5124 MB / 0.8212 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.8149, allocations: 0.5558 MB / 0.8218 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.8184, allocations: 2.337 MB / 0.8241 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/0.819, allocations: 1.069 MB / 0.8251 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001071/0.8201, allocations: 276 kB / 0.8254 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.8204, allocations: 83.41 kB / 0.8255 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of SimCode: time 1.914e-06/0.8204, allocations: 0 / 0.8255 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of Templates: time 0.03428/0.8547, allocations: 21.94 MB / 0.8469 GB, free: 14.98 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)