Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 104 kB / 16.27 MB, free: 5.98 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.001435/0.001435, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.776/0.776, allocations: 135.2 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001759, allocations: 67.89 kB / 0.506 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3219, allocations: 80.91 MB / 0.5851 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.01564/0.3376, allocations: 20.83 MB / 0.6054 GB, free: 5.688 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005561/0.3432, allocations: 5.376 MB / 0.6106 GB, free: 332 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006456/0.3438, allocations: 29.19 kB / 0.6107 GB, free: 304 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007732/0.3446, allocations: 353.8 kB / 0.611 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.3469, allocations: 0.9153 MB / 0.6119 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.3492, allocations: 0.9226 MB / 0.6128 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002284/0.3515, allocations: 1.728 MB / 0.6145 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007842/0.3523, allocations: 498.2 kB / 0.615 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.354, allocations: 0.6937 MB / 0.6156 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007179/0.3547, allocations: 493.8 kB / 0.6161 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3549, allocations: 44 kB / 0.6162 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.3568, allocations: 1.123 MB / 0.6173 GB, free: 9.555 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.357, allocations: 151.4 kB / 0.6174 GB, free: 9.406 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.3574, allocations: 322.3 kB / 0.6177 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.3592, allocations: 1.211 MB / 0.6189 GB, free: 7.875 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3592, allocations: 0 / 0.6189 GB, free: 7.875 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3593, allocations: 0 / 0.6189 GB, free: 7.875 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3593, allocations: 0 / 0.6189 GB, free: 7.875 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001598/0.3609, allocations: 1.045 MB / 0.6199 GB, free: 6.773 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3609, allocations: 9.109 kB / 0.6199 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/0.3618, allocations: 187.9 kB / 0.6201 GB, free: 6.582 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.3628, allocations: 0.5569 MB / 0.6206 GB, free: 5.984 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/0.3632, allocations: 88.94 kB / 0.6207 GB, free: 5.898 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.3633, allocations: 36 kB / 0.6208 GB, free: 5.863 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000956/0.3642, allocations: 0.4921 MB / 0.6212 GB, free: 5.352 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3642, allocations: 0 / 0.6212 GB, free: 5.352 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.529e-05/0.3643, allocations: 20 kB / 0.6213 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.3643, allocations: 15.94 kB / 0.6213 GB, free: 5.316 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.3654, allocations: 414.6 kB / 0.6217 GB, free: 4.914 MB / 462.1 MB 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.003015/0.3684, allocations: 2.294 MB / 0.6239 GB, free: 2.402 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.3695, allocations: 382.9 kB / 0.6243 GB, free: 2.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005385/0.3701, allocations: 232.9 kB / 0.6245 GB, free: 1.789 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.3704, allocations: 340.7 kB / 0.6248 GB, free: 1.383 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000661/0.3711, allocations: 310.7 kB / 0.6251 GB, free: 1.062 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.3711, allocations: 0 / 0.6251 GB, free: 1.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002303/0.3734, allocations: 0.8552 MB / 0.626 GB, free: 180 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.3735, allocations: 81.11 kB / 0.626 GB, free: 80 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.3741, allocations: 0.4911 MB / 0.6265 GB, free: 15.58 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.3741, allocations: 33.7 kB / 0.6265 GB, free: 15.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.3744, allocations: 276.4 kB / 0.6268 GB, free: 15.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.488e-05/0.3745, allocations: 106.5 kB / 0.6269 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3746, allocations: 77.59 kB / 0.627 GB, free: 15.08 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.3748, allocations: 374.7 kB / 0.6273 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.3753, allocations: 184.7 kB / 0.6275 GB, free: 14.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.3758, allocations: 264.8 kB / 0.6278 GB, free: 14.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.3769, allocations: 473 kB / 0.6282 GB, free: 13.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3769, allocations: 0 / 0.6282 GB, free: 13.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001463/0.3783, allocations: 0.6318 MB / 0.6288 GB, free: 13.08 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.3784, allocations: 35.73 kB / 0.6289 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3784, allocations: 3.938 kB / 0.6289 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/0.3787, allocations: 72.95 kB / 0.6289 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.3791, allocations: 75.89 kB / 0.629 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005104/0.3796, allocations: 0.5991 MB / 0.6296 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/0.3801, allocations: 67.61 kB / 0.6297 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.3801, allocations: 12 kB / 0.6297 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005953/0.3807, allocations: 316.1 kB / 0.63 GB, free: 11.88 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005452/0.3813, allocations: 265.4 kB / 0.6302 GB, free: 11.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001003/0.3823, allocations: 465.2 kB / 0.6307 GB, free: 11.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.3823, allocations: 0 / 0.6307 GB, free: 11.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001329/0.3836, allocations: 0.6057 MB / 0.6313 GB, free: 10.47 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.3837, allocations: 33.7 kB / 0.6313 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.3837, allocations: 4 kB / 0.6313 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.3838, allocations: 48.83 kB / 0.6314 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.3842, allocations: 91.91 kB / 0.6314 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/0.3858, allocations: 1.81 MB / 0.6332 GB, free: 8.332 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.3863, allocations: 55.81 kB / 0.6333 GB, free: 8.277 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.3863, allocations: 19.98 kB / 0.6333 GB, free: 8.258 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001988/0.3865, allocations: 233.9 kB / 0.6335 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/0.3866, allocations: 55.34 kB / 0.6336 GB, free: 7.961 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.3881, allocations: 0.6563 MB / 0.6342 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3881, allocations: 4 kB / 0.6342 GB, free: 7.285 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.3881, allocations: 0 / 0.6342 GB, free: 7.285 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001358/0.3895, allocations: 0.8057 MB / 0.635 GB, free: 6.402 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.3917, allocations: 1.299 MB / 0.6363 GB, free: 5.027 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3917, allocations: 0 / 0.6363 GB, free: 5.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.3921, allocations: 75.97 kB / 0.6363 GB, free: 4.953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.3922, allocations: 40.83 kB / 0.6364 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.3923, allocations: 19.92 kB / 0.6364 GB, free: 4.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004121/0.3927, allocations: 0.5834 MB / 0.637 GB, free: 4.281 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3927, allocations: 0 / 0.637 GB, free: 4.281 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.3946, allocations: 0.969 MB / 0.6379 GB, free: 3.277 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.3949, allocations: 180.4 kB / 0.6381 GB, free: 3.082 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/0.395, allocations: 12 kB / 0.6381 GB, free: 3.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004749/0.3954, allocations: 39.86 kB / 0.6381 GB, free: 3.031 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/0.3955, allocations: 31.91 kB / 0.6382 GB, free: 3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.3956, allocations: 15.98 kB / 0.6382 GB, free: 2.984 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003871/0.396, allocations: 350.8 kB / 0.6385 GB, free: 2.645 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.396, allocations: 0 / 0.6385 GB, free: 2.645 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009141/0.3969, allocations: 339.5 kB / 0.6388 GB, free: 2.312 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000632/0.3975, allocations: 305 kB / 0.6391 GB, free: 2.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.3997, allocations: 1.002 MB / 0.6401 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3997, allocations: 3.938 kB / 0.6401 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006532/0.4004, allocations: 319.4 kB / 0.6404 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.4015, allocations: 230.7 kB / 0.6406 GB, free: 452 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.4036, allocations: 1.175 MB / 0.6418 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.4041, allocations: 0.8784 MB / 0.6426 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.4043, allocations: 55.41 kB / 0.6427 GB, free: 14.26 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4043, allocations: 0 / 0.6427 GB, free: 14.26 MB / 494.1 MB Notification: Performance of Templates: time 0.01503/0.4193, allocations: 11.4 MB / 0.6538 GB, free: 2.934 MB / 494.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)