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.002313/0.002313, allocations: 85.48 kB / 19.44 MB, free: 340 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.00267/0.00267, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.574/1.574, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.33/1.33, allocations: 154.6 MB / 414.2 MB, free: 0.6523 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.533e-06/1.533e-06, allocations: 0 / 0.5196 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.767e-05, allocations: 5.141 kB / 0.5196 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5403/0.5403, allocations: 191.1 MB / 0.7062 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009368/0.5497, allocations: 7.105 MB / 0.7132 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.551, allocations: 64.59 kB / 0.7132 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.5526, allocations: 0.697 MB / 0.7139 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005438/0.558, allocations: 2.474 MB / 0.7163 GB, free: 47.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.5613, allocations: 1.576 MB / 0.7179 GB, free: 47.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003608/0.5649, allocations: 3.024 MB / 0.7208 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.566, allocations: 0.745 MB / 0.7216 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003981/0.57, allocations: 1.979 MB / 0.7235 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.5715, allocations: 0.7396 MB / 0.7242 GB, free: 46.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.5718, allocations: 98.94 kB / 0.7243 GB, free: 46.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.5751, allocations: 1.686 MB / 0.726 GB, free: 46.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003741/0.5755, allocations: 386.5 kB / 0.7263 GB, free: 46.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005625/0.5761, allocations: 404 kB / 0.7267 GB, free: 46 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003806/0.5799, allocations: 2.457 MB / 0.7291 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5799, allocations: 0 / 0.7291 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5799, allocations: 1.969 kB / 0.7291 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.937e-05/0.5799, allocations: 0 / 0.7291 GB, free: 45.79 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.003623/0.5835, allocations: 1.768 MB / 0.7308 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5836, allocations: 10.33 kB / 0.7309 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002645/0.5862, allocations: 0.5113 MB / 0.7314 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.5885, allocations: 1.003 MB / 0.7323 GB, free: 44.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.557e-05/0.5886, allocations: 56.91 kB / 0.7324 GB, free: 44.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.5887, allocations: 73.38 kB / 0.7325 GB, free: 44.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.5908, allocations: 1.08 MB / 0.7335 GB, free: 44.19 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.5908, allocations: 0 / 0.7335 GB, free: 44.19 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.5909, allocations: 31.28 kB / 0.7335 GB, free: 44.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.5909, allocations: 30.77 kB / 0.7336 GB, free: 44.19 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.5932, allocations: 0.8412 MB / 0.7344 GB, free: 44.16 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.005702/0.5989, allocations: 3.177 MB / 0.7375 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.6002, allocations: 0.4983 MB / 0.738 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005884/0.6008, allocations: 276.5 kB / 0.7382 GB, free: 42.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005084/0.6013, allocations: 133.4 kB / 0.7384 GB, free: 42.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009237/0.6023, allocations: 0.5672 MB / 0.7389 GB, free: 42.56 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 3.457e-06/0.6023, allocations: 0.625 kB / 0.7389 GB, free: 42.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.002385/0.6046, allocations: 0.9113 MB / 0.7398 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.6047, allocations: 142.6 kB / 0.7399 GB, free: 42.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.6061, allocations: 1.062 MB / 0.741 GB, free: 42.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.876e-05/0.6062, allocations: 39.7 kB / 0.741 GB, free: 41.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.6065, allocations: 0.5504 MB / 0.7416 GB, free: 41.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.6067, allocations: 219.4 kB / 0.7418 GB, free: 41.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.607, allocations: 172.8 kB / 0.7419 GB, free: 41.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.607, allocations: 0.5211 MB / 0.7424 GB, free: 41.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008023/0.6079, allocations: 306.1 kB / 0.7427 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009932/0.6088, allocations: 0.8631 MB / 0.7436 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.6102, allocations: 0.7054 MB / 0.7443 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6102, allocations: 4.812 kB / 0.7443 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002207/0.6124, allocations: 0.9114 MB / 0.7452 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.6124, allocations: 37.19 kB / 0.7452 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6124, allocations: 3.344 kB / 0.7452 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.6125, allocations: 6.344 kB / 0.7452 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/0.6132, allocations: 161.1 kB / 0.7454 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.6133, allocations: 9.875 kB / 0.7454 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.6144, allocations: 143.7 kB / 0.7455 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.72e-05/0.6145, allocations: 40.28 kB / 0.7455 GB, free: 39.96 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.0004878/0.615, allocations: 324.9 kB / 0.7459 GB, free: 39.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.6152, allocations: 112.8 kB / 0.746 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.6168, allocations: 0.7487 MB / 0.7467 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.6169, allocations: 6.031 kB / 0.7467 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6169, allocations: 0 / 0.7467 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.6169, allocations: 7.078 kB / 0.7467 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/0.6207, allocations: 2.597 MB / 0.7492 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.6207, allocations: 5.969 kB / 0.7492 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004965/0.6212, allocations: 110.7 kB / 0.7494 GB, free: 38.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.6212, allocations: 9.297 kB / 0.7494 GB, free: 38.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.6213, allocations: 27.09 kB / 0.7494 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.6213, allocations: 21.94 kB / 0.7494 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.6213, allocations: 11.25 kB / 0.7494 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.623, allocations: 1.276 MB / 0.7507 GB, free: 37.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004951/0.6235, allocations: 223.4 kB / 0.7509 GB, free: 37.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.6236, allocations: 25.58 kB / 0.7509 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008372/0.6244, allocations: 71.84 kB / 0.751 GB, free: 37.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.6246, allocations: 56.88 kB / 0.751 GB, free: 37.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.499e-05/0.6246, allocations: 41.39 kB / 0.7511 GB, free: 37.15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009417/0.6256, allocations: 0.6843 MB / 0.7517 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.6256, allocations: 1.156 kB / 0.7517 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001138/0.6267, allocations: 335.2 kB / 0.7521 GB, free: 36.79 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.0005477/0.6273, allocations: 330.4 kB / 0.7524 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.629, allocations: 0.7847 MB / 0.7531 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.629, allocations: 2.906 kB / 0.7531 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.6296, allocations: 415.9 kB / 0.7535 GB, free: 36.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.6317, allocations: 426.4 kB / 0.7539 GB, free: 36.05 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.6345, allocations: 1.968 MB / 0.7559 GB, free: 34.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.6349, allocations: 471.3 kB / 0.7563 GB, free: 34.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007838/0.6357, allocations: 218.2 kB / 0.7565 GB, free: 34.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.6359, allocations: 72.09 kB / 0.7566 GB, free: 34.54 MB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/0.6359, allocations: 0 / 0.7566 GB, free: 34.54 MB / 0.6355 GB Notification: Performance of Templates: time 0.02504/0.661, allocations: 18.05 MB / 0.7742 GB, free: 32.35 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.2127709509804845]