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.001392/0.001392, allocations: 102.5 kB / 16.35 MB, free: 5.828 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.001537/0.001537, allocations: 195.8 kB / 17.3 MB, free: 5.484 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7669/0.7669, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.91 kB / 0.5067 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3701, allocations: 80.91 MB / 0.5858 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.01476/0.3849, allocations: 20.84 MB / 0.6061 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006066/0.391, allocations: 5.387 MB / 0.6114 GB, free: 356 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000742/0.3918, allocations: 23.88 kB / 0.6114 GB, free: 332 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007979/0.3926, allocations: 342 kB / 0.6117 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.395, allocations: 0.9186 MB / 0.6126 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.3975, allocations: 0.9354 MB / 0.6135 GB, free: 14.15 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001967/0.3995, allocations: 1.731 MB / 0.6152 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006402/0.4001, allocations: 497 kB / 0.6157 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.4017, allocations: 0.6983 MB / 0.6164 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005536/0.4022, allocations: 497.8 kB / 0.6168 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.637e-05/0.4023, allocations: 40 kB / 0.6169 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.4041, allocations: 1.131 MB / 0.618 GB, free: 9.566 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.4042, allocations: 143.5 kB / 0.6181 GB, free: 9.426 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.4045, allocations: 322.3 kB / 0.6184 GB, free: 9.109 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.4062, allocations: 1.217 MB / 0.6196 GB, free: 7.891 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4062, allocations: 4 kB / 0.6196 GB, free: 7.887 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4062, allocations: 0 / 0.6196 GB, free: 7.887 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.4062, allocations: 0 / 0.6196 GB, free: 7.887 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.001568/0.4078, allocations: 1.049 MB / 0.6206 GB, free: 6.781 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4078, allocations: 9.109 kB / 0.6207 GB, free: 6.773 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.4087, allocations: 183.9 kB / 0.6208 GB, free: 6.594 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.4098, allocations: 0.5804 MB / 0.6214 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.4098, allocations: 33 kB / 0.6214 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.556e-05/0.4099, allocations: 47.88 kB / 0.6215 GB, free: 5.895 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008884/0.4108, allocations: 492 kB / 0.6219 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4108, allocations: 0 / 0.6219 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.4108, allocations: 16 kB / 0.622 GB, free: 5.375 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.4109, allocations: 15.98 kB / 0.622 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008976/0.4118, allocations: 414.6 kB / 0.6224 GB, free: 4.957 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.002781/0.4146, allocations: 2.278 MB / 0.6246 GB, free: 2.461 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009204/0.4155, allocations: 370.9 kB / 0.6249 GB, free: 2.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004522/0.416, allocations: 226.2 kB / 0.6252 GB, free: 1.867 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002851/0.4163, allocations: 344.7 kB / 0.6255 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005838/0.4169, allocations: 294.2 kB / 0.6258 GB, free: 1.152 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.923e-06/0.4169, allocations: 0 / 0.6258 GB, free: 1.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002082/0.419, allocations: 0.8512 MB / 0.6266 GB, free: 276 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.419, allocations: 85.11 kB / 0.6267 GB, free: 172 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.4195, allocations: 494.9 kB / 0.6272 GB, free: 15.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.4196, allocations: 37.69 kB / 0.6272 GB, free: 15.63 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.4198, allocations: 276.4 kB / 0.6275 GB, free: 15.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/0.4199, allocations: 102.5 kB / 0.6276 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.42, allocations: 73.59 kB / 0.6276 GB, free: 15.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4201, allocations: 374.8 kB / 0.628 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.4206, allocations: 176.5 kB / 0.6282 GB, free: 14.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.421, allocations: 261.1 kB / 0.6284 GB, free: 14.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008507/0.4219, allocations: 468.9 kB / 0.6288 GB, free: 13.85 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4219, allocations: 0 / 0.6288 GB, free: 13.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001327/0.4232, allocations: 0.6084 MB / 0.6294 GB, free: 13.22 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.4233, allocations: 41.84 kB / 0.6295 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4233, allocations: 4 kB / 0.6295 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/0.4237, allocations: 76.67 kB / 0.6296 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.424, allocations: 79.88 kB / 0.6296 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000422/0.4244, allocations: 0.5952 MB / 0.6302 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.4249, allocations: 55.64 kB / 0.6303 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.4249, allocations: 28.05 kB / 0.6303 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005383/0.4255, allocations: 300 kB / 0.6306 GB, free: 12.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004587/0.426, allocations: 261.4 kB / 0.6308 GB, free: 11.73 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008364/0.4268, allocations: 461.1 kB / 0.6313 GB, free: 11.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.4268, allocations: 0 / 0.6313 GB, free: 11.24 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001207/0.428, allocations: 0.5886 MB / 0.6318 GB, free: 10.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.4281, allocations: 41.69 kB / 0.6319 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.4281, allocations: 4.078 kB / 0.6319 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.4282, allocations: 48.98 kB / 0.6319 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.4286, allocations: 75.83 kB / 0.632 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.4303, allocations: 1.81 MB / 0.6338 GB, free: 8.504 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.4308, allocations: 67.77 kB / 0.6338 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.4309, allocations: 12 kB / 0.6339 GB, free: 8.426 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.000263/0.4312, allocations: 238.9 kB / 0.6341 GB, free: 8.184 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.4313, allocations: 55.34 kB / 0.6341 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.4327, allocations: 0.6485 MB / 0.6348 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.4328, allocations: 4 kB / 0.6348 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.4328, allocations: 0 / 0.6348 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001211/0.434, allocations: 0.7985 MB / 0.6355 GB, free: 6.586 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.4361, allocations: 1.305 MB / 0.6368 GB, free: 5.207 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.4361, allocations: 0 / 0.6368 GB, free: 5.207 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.4365, allocations: 59.95 kB / 0.6369 GB, free: 5.148 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.4366, allocations: 44.77 kB / 0.6369 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.4367, allocations: 16.09 kB / 0.6369 GB, free: 5.086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003678/0.4371, allocations: 0.5757 MB / 0.6375 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4371, allocations: 0 / 0.6375 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.4389, allocations: 0.9534 MB / 0.6384 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.4392, allocations: 180.3 kB / 0.6386 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.4393, allocations: 8 kB / 0.6386 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/0.4397, allocations: 51.86 kB / 0.6387 GB, free: 3.242 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.4398, allocations: 31.83 kB / 0.6387 GB, free: 3.211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.4399, allocations: 19.98 kB / 0.6387 GB, free: 3.191 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003762/0.4402, allocations: 346.8 kB / 0.639 GB, free: 2.855 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4403, allocations: 3.938 kB / 0.639 GB, free: 2.852 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009882/0.4412, allocations: 331.5 kB / 0.6394 GB, free: 2.527 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.0006379/0.4419, allocations: 300.8 kB / 0.6396 GB, free: 2.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001985/0.4439, allocations: 0.9666 MB / 0.6406 GB, free: 1.227 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4439, allocations: 4.062 kB / 0.6406 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.4445, allocations: 331.3 kB / 0.6409 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.4455, allocations: 215.5 kB / 0.6411 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.4476, allocations: 1.122 MB / 0.6422 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.4482, allocations: 0.8745 MB / 0.6431 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004145/0.4486, allocations: 126.5 kB / 0.6432 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.4487, allocations: 51.42 kB / 0.6432 GB, free: 14.45 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4487, allocations: 0 / 0.6432 GB, free: 14.45 MB / 494.1 MB Notification: Performance of Templates: time 0.01983/0.4686, allocations: 11.3 MB / 0.6543 GB, free: 3.293 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)