Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 165.3 kB / 22.76 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.211/1.211, allocations: 154.6 MB / 414.2 MB, free: 0.625 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.043e-05, allocations: 4.141 kB / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5778/0.5778, allocations: 171.7 MB / 0.6873 GB, free: 45.88 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009792/0.5876, allocations: 6.621 MB / 0.6938 GB, free: 45.74 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.5894, allocations: 62.53 kB / 0.6938 GB, free: 45.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.5915, allocations: 0.7039 MB / 0.6945 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00661/0.5981, allocations: 2.464 MB / 0.6969 GB, free: 45.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.6019, allocations: 1.583 MB / 0.6985 GB, free: 45.61 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004763/0.6066, allocations: 3.024 MB / 0.7014 GB, free: 45.46 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.6084, allocations: 0.7392 MB / 0.7021 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005773/0.6141, allocations: 1.976 MB / 0.7041 GB, free: 45.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.6161, allocations: 0.7276 MB / 0.7048 GB, free: 45.13 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.6165, allocations: 98.59 kB / 0.7049 GB, free: 45.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004459/0.621, allocations: 1.678 MB / 0.7065 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.6221, allocations: 397.5 kB / 0.7069 GB, free: 44.91 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.624, allocations: 394.1 kB / 0.7073 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006698/0.6307, allocations: 2.458 MB / 0.7097 GB, free: 44.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6307, allocations: 0 / 0.7097 GB, free: 44.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6307, allocations: 0.6562 kB / 0.7097 GB, free: 44.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.549e-05/0.6308, allocations: 0 / 0.7097 GB, free: 44.66 MB / 0.6355 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.005604/0.6364, allocations: 1.582 MB / 0.7112 GB, free: 43.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.6365, allocations: 11.5 kB / 0.7112 GB, free: 43.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003422/0.6399, allocations: 0.6271 MB / 0.7118 GB, free: 43.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.6425, allocations: 1.039 MB / 0.7128 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/0.6426, allocations: 51.16 kB / 0.7129 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.6428, allocations: 71.69 kB / 0.713 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.6453, allocations: 1.237 MB / 0.7142 GB, free: 43.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.6453, allocations: 4.984 kB / 0.7142 GB, free: 43.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.542e-05/0.6454, allocations: 32.98 kB / 0.7142 GB, free: 43.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.6454, allocations: 32 kB / 0.7142 GB, free: 43.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/0.6482, allocations: 1.19 MB / 0.7154 GB, free: 43.18 MB / 0.6355 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.005569/0.6538, allocations: 2.731 MB / 0.7181 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.6556, allocations: 0.6728 MB / 0.7187 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007732/0.6564, allocations: 426.3 kB / 0.7191 GB, free: 42.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005112/0.6569, allocations: 130.1 kB / 0.7193 GB, free: 42.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.6579, allocations: 0.6478 MB / 0.7199 GB, free: 42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 3.948e-06/0.658, allocations: 1.375 kB / 0.7199 GB, free: 42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.003345/0.6613, allocations: 1.292 MB / 0.7211 GB, free: 41.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.6614, allocations: 141.8 kB / 0.7213 GB, free: 41.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.6632, allocations: 0.8839 MB / 0.7221 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.6633, allocations: 38.08 kB / 0.7222 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/0.6637, allocations: 463.8 kB / 0.7226 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.6639, allocations: 199 kB / 0.7228 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003376/0.6643, allocations: 147.7 kB / 0.723 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.6643, allocations: 333.6 kB / 0.7233 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.6657, allocations: 472.5 kB / 0.7237 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.6672, allocations: 0.9809 MB / 0.7247 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.6694, allocations: 0.9325 MB / 0.7256 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.6694, allocations: 6.219 kB / 0.7256 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003408/0.6728, allocations: 1.236 MB / 0.7268 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.002e-05/0.6729, allocations: 41.83 kB / 0.7268 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.6729, allocations: 2.375 kB / 0.7268 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.135e-05/0.6729, allocations: 7.469 kB / 0.7269 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.674, allocations: 186.7 kB / 0.727 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.358e-05/0.674, allocations: 13.56 kB / 0.727 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.6757, allocations: 211.7 kB / 0.7272 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.6758, allocations: 37.7 kB / 0.7273 GB, free: 39.81 MB / 0.6355 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.0006688/0.6765, allocations: 336 kB / 0.7276 GB, free: 39.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/0.6769, allocations: 112.8 kB / 0.7277 GB, free: 39.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.6792, allocations: 1.008 MB / 0.7287 GB, free: 39.49 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.6792, allocations: 7.906 kB / 0.7287 GB, free: 39.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.6792, allocations: 2.219 kB / 0.7287 GB, free: 39.49 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/0.6792, allocations: 3.188 kB / 0.7287 GB, free: 39.49 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005397/0.6846, allocations: 2.938 MB / 0.7316 GB, free: 38.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/0.6847, allocations: 7.438 kB / 0.7316 GB, free: 38.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007593/0.6854, allocations: 121.3 kB / 0.7317 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.962e-05/0.6854, allocations: 13.53 kB / 0.7317 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/0.6855, allocations: 29.19 kB / 0.7317 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.544e-05/0.6855, allocations: 15.25 kB / 0.7318 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.6855, allocations: 9.5 kB / 0.7318 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.6878, allocations: 1.364 MB / 0.7331 GB, free: 38.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006207/0.6884, allocations: 241.4 kB / 0.7333 GB, free: 38.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.6886, allocations: 23.17 kB / 0.7334 GB, free: 38.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.6898, allocations: 105.2 kB / 0.7335 GB, free: 38.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.6899, allocations: 61.95 kB / 0.7335 GB, free: 38.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.601e-05/0.69, allocations: 40.36 kB / 0.7335 GB, free: 38.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0014/0.6914, allocations: 0.639 MB / 0.7342 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6914, allocations: 0 / 0.7342 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001428/0.6929, allocations: 332.5 kB / 0.7345 GB, free: 37.93 MB / 0.6355 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.0007346/0.6936, allocations: 335.6 kB / 0.7348 GB, free: 37.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002435/0.696, allocations: 1.048 MB / 0.7358 GB, free: 37.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.696, allocations: 0 / 0.7358 GB, free: 37.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009373/0.697, allocations: 0.5085 MB / 0.7363 GB, free: 37.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.6994, allocations: 427.1 kB / 0.7367 GB, free: 37.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.7032, allocations: 2.038 MB / 0.7387 GB, free: 36.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.7038, allocations: 482.3 kB / 0.7392 GB, free: 36.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001056/0.7049, allocations: 236.5 kB / 0.7394 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.7052, allocations: 65.84 kB / 0.7395 GB, free: 36.35 MB / 0.6355 GB Notification: Performance of SimCode: time 1.423e-06/0.7052, allocations: 3.094 kB / 0.7395 GB, free: 36.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.02823/0.7334, allocations: 18.05 MB / 0.7571 GB, free: 34.2 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.064030961017124]