Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008346/0.0008346, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0008649/0.0008648, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 223.2 MB / 239.9 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8576/0.8576, allocations: 135.2 MB / 426.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.0002911, allocations: 17.59 kB / 0.5068 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 82.3 MB / 0.5872 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.01513/0.1524, allocations: 17.48 MB / 0.6043 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2353/0.3878, allocations: 4.655 MB / 0.6088 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004445/0.3883, allocations: 20.31 kB / 0.6088 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007081/0.389, allocations: 305.4 kB / 0.6091 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.3905, allocations: 0.8015 MB / 0.6099 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.3925, allocations: 0.9059 MB / 0.6108 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.3936, allocations: 1.032 MB / 0.6118 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000439/0.394, allocations: 411.5 kB / 0.6122 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006077/0.3946, allocations: 0.5431 MB / 0.6127 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.3949, allocations: 328.8 kB / 0.613 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.395, allocations: 20.91 kB / 0.613 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.3962, allocations: 0.8307 MB / 0.6139 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3963, allocations: 116.9 kB / 0.614 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.3964, allocations: 141 kB / 0.6141 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.3971, allocations: 0.7789 MB / 0.6149 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.3971, allocations: 0 / 0.6149 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3972, allocations: 0 / 0.6149 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3972, allocations: 0 / 0.6149 GB, free: 34.66 MB / 0.4981 GB 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.001069/0.3982, allocations: 0.918 MB / 0.6158 GB, free: 34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.3983, allocations: 9.406 kB / 0.6158 GB, free: 34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007594/0.399, allocations: 193.9 kB / 0.6159 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006428/0.3997, allocations: 0.5044 MB / 0.6164 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/0.4, allocations: 97.48 kB / 0.6165 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.4001, allocations: 44.83 kB / 0.6166 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007469/0.4008, allocations: 0.4957 MB / 0.6171 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4009, allocations: 0 / 0.6171 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.4009, allocations: 17.78 kB / 0.6171 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.4009, allocations: 11.75 kB / 0.6171 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008302/0.4018, allocations: 423 kB / 0.6175 GB, free: 33.61 MB / 0.4981 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.002196/0.404, allocations: 2.31 MB / 0.6197 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008673/0.4048, allocations: 397 kB / 0.6201 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.405, allocations: 340.1 kB / 0.6205 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004988/0.4055, allocations: 307.4 kB / 0.6207 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.4055, allocations: 0 / 0.6207 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001812/0.4074, allocations: 0.9657 MB / 0.6217 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.4074, allocations: 86.56 kB / 0.6218 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/0.4078, allocations: 0.4914 MB / 0.6223 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.4078, allocations: 34.48 kB / 0.6223 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.408, allocations: 282.8 kB / 0.6226 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.408, allocations: 105.7 kB / 0.6227 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/0.4081, allocations: 6.312 kB / 0.6227 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.4081, allocations: 368.7 kB / 0.623 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.4085, allocations: 182.8 kB / 0.6232 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.4089, allocations: 270.7 kB / 0.6234 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.4093, allocations: 212.6 kB / 0.6236 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4093, allocations: 0 / 0.6236 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001142/0.4105, allocations: 0.6391 MB / 0.6243 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.4106, allocations: 0.6505 MB / 0.6249 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.4106, allocations: 2.969 kB / 0.6249 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002829/0.4109, allocations: 65.12 kB / 0.625 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.4112, allocations: 85.55 kB / 0.6251 GB, free: 29.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002919/0.4115, allocations: 0.5954 MB / 0.6256 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/0.412, allocations: 80.78 kB / 0.6257 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.4121, allocations: 15.5 kB / 0.6257 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.4121, allocations: 10.73 kB / 0.6257 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/0.4131, allocations: 0.5608 MB / 0.6263 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.4131, allocations: 2.969 kB / 0.6263 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001142/0.4132, allocations: 45.59 kB / 0.6263 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.4135, allocations: 87.67 kB / 0.6264 GB, free: 29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009556/0.4145, allocations: 1.645 MB / 0.628 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/0.4149, allocations: 77.92 kB / 0.6281 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.415, allocations: 14.41 kB / 0.6281 GB, free: 27.57 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.4152, allocations: 296 kB / 0.6284 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.4152, allocations: 62.64 kB / 0.6285 GB, free: 27.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.4164, allocations: 0.6627 MB / 0.6291 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4164, allocations: 2.438 kB / 0.6291 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.4164, allocations: 0 / 0.6291 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001002/0.4174, allocations: 0.83 MB / 0.6299 GB, free: 26.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.4192, allocations: 1.33 MB / 0.6312 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4192, allocations: 0 / 0.6312 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.4195, allocations: 69.56 kB / 0.6313 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.561e-05/0.4196, allocations: 36.3 kB / 0.6313 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.4196, allocations: 12 kB / 0.6313 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000223/0.4198, allocations: 0.5793 MB / 0.6319 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4199, allocations: 0 / 0.6319 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.4214, allocations: 1.033 MB / 0.6329 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.4216, allocations: 192.1 kB / 0.6331 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-05/0.4216, allocations: 12.38 kB / 0.6331 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.4221, allocations: 68.48 kB / 0.6332 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.4222, allocations: 26.47 kB / 0.6332 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.4222, allocations: 19.77 kB / 0.6332 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002877/0.4225, allocations: 351.8 kB / 0.6335 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4225, allocations: 0 / 0.6335 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009528/0.4235, allocations: 353.5 kB / 0.6339 GB, free: 25.24 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004839/0.424, allocations: 301.2 kB / 0.6342 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.4256, allocations: 1.005 MB / 0.6351 GB, free: 24.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4256, allocations: 2.734 kB / 0.6351 GB, free: 24.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.4261, allocations: 330.8 kB / 0.6355 GB, free: 24.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.4272, allocations: 247.2 kB / 0.6357 GB, free: 24.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.4289, allocations: 1.343 MB / 0.637 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.4291, allocations: 0.8937 MB / 0.6379 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004067/0.4295, allocations: 128.3 kB / 0.638 GB, free: 23.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.326e-05/0.4296, allocations: 46.7 kB / 0.638 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4296, allocations: 0 / 0.638 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.0164/0.446, allocations: 10.94 MB / 0.6487 GB, free: 22.41 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: