Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001457/0.001457, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001756/0.001756, allocations: 213.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.281/1.281, allocations: 203.8 MB / 0.5042 GB, free: 4.613 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 62.25 kB / 0.7187 GB, free: 1.938 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5858/0.5878, allocations: 102 MB / 0.8183 GB, free: 28.9 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2394/0.8272, allocations: 171.9 MB / 0.9862 GB, free: 9.949 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.01325/0.8405, allocations: 6.593 MB / 0.9926 GB, free: 3.344 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.8426, allocations: 63.44 kB / 0.9927 GB, free: 3.281 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.8447, allocations: 0.6986 MB / 0.9934 GB, free: 2.578 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.007276/0.852, allocations: 2.408 MB / 0.9957 GB, free: 164 kB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.004417/0.8564, allocations: 1.527 MB / 0.9972 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005335/0.8618, allocations: 3.025 MB / 1 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.8634, allocations: 0.705 MB / 1.001 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006044/0.8695, allocations: 1.645 MB / 1.002 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.8715, allocations: 0.7983 MB / 1.003 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.8718, allocations: 100 kB / 1.003 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004165/0.8759, allocations: 1.656 MB / 1.005 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004643/0.8764, allocations: 378.8 kB / 1.005 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007401/0.8771, allocations: 481.6 kB / 1.006 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004349/0.8815, allocations: 2.34 MB / 1.008 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.8815, allocations: 4 kB / 1.008 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8815, allocations: 4 kB / 1.008 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.8815, allocations: 0 / 1.008 GB, free: 3.512 MB / 0.7794 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.003734/0.8852, allocations: 1.59 MB / 1.01 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.8853, allocations: 13.47 kB / 1.01 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/0.8885, allocations: 0.5494 MB / 1.01 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.8911, allocations: 0.9697 MB / 1.011 GB, free: 328 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/0.8912, allocations: 53.25 kB / 1.011 GB, free: 276 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.8913, allocations: 72 kB / 1.011 GB, free: 204 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/0.8942, allocations: 1.23 MB / 1.012 GB, free: 14.91 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.8942, allocations: 15.86 kB / 1.012 GB, free: 14.9 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.895e-05/0.8943, allocations: 24 kB / 1.012 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.284e-05/0.8943, allocations: 37.31 kB / 1.013 GB, free: 14.84 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/0.8976, allocations: 1.186 MB / 1.014 GB, free: 13.64 MB / 0.795 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.006347/0.9039, allocations: 2.694 MB / 1.016 GB, free: 10.89 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.9057, allocations: 0.6779 MB / 1.017 GB, free: 10.2 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008552/0.9066, allocations: 429.2 kB / 1.017 GB, free: 9.77 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005422/0.9071, allocations: 136.3 kB / 1.017 GB, free: 9.637 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/0.9083, allocations: 0.6433 MB / 1.018 GB, free: 8.938 MB / 0.795 GB Notification: Performance of pre-optimization done (n=57): time 2.194e-06/0.9083, allocations: 0 / 1.018 GB, free: 8.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=57): time 0.003288/0.9116, allocations: 1.268 MB / 1.019 GB, free: 7.652 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.9117, allocations: 140.9 kB / 1.019 GB, free: 7.484 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.9134, allocations: 0.8878 MB / 1.02 GB, free: 6.582 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.9135, allocations: 41.64 kB / 1.02 GB, free: 6.535 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005514/0.9141, allocations: 460.5 kB / 1.021 GB, free: 6.078 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.9143, allocations: 202.3 kB / 1.021 GB, free: 5.879 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/0.9147, allocations: 146.2 kB / 1.021 GB, free: 5.73 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.9149, allocations: 333.9 kB / 1.021 GB, free: 5.398 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.9162, allocations: 474.7 kB / 1.022 GB, free: 4.93 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.9179, allocations: 0.9745 MB / 1.023 GB, free: 3.812 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.9202, allocations: 0.9335 MB / 1.024 GB, free: 2.82 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.9202, allocations: 0 / 1.024 GB, free: 2.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003345/0.9236, allocations: 1.222 MB / 1.025 GB, free: 1.578 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/0.9236, allocations: 37.69 kB / 1.025 GB, free: 1.535 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.9236, allocations: 4 kB / 1.025 GB, free: 1.531 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.9237, allocations: 8 kB / 1.025 GB, free: 1.523 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.9247, allocations: 184 kB / 1.025 GB, free: 1.344 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.9247, allocations: 12 kB / 1.025 GB, free: 1.332 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.9263, allocations: 223.3 kB / 1.025 GB, free: 1.113 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.031e-05/0.9264, allocations: 31.98 kB / 1.025 GB, free: 1.082 MB / 0.795 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.0006784/0.927, allocations: 338 kB / 1.026 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.9273, allocations: 95.44 kB / 1.026 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.9297, allocations: 1.009 MB / 1.027 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.9297, allocations: 11.98 kB / 1.027 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.9297, allocations: 4 kB / 1.027 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.9297, allocations: 11.88 kB / 1.027 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005225/0.935, allocations: 2.919 MB / 1.03 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.935, allocations: 8 kB / 1.03 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/0.9356, allocations: 124 kB / 1.03 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.9356, allocations: 8 kB / 1.03 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/0.9357, allocations: 27.98 kB / 1.03 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-05/0.9357, allocations: 15.92 kB / 1.03 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.9357, allocations: 11.94 kB / 1.03 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/0.9383, allocations: 1.379 MB / 1.031 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005832/0.9389, allocations: 219.1 kB / 1.031 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.939, allocations: 27.98 kB / 1.032 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.9401, allocations: 99.91 kB / 1.032 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.9403, allocations: 63.73 kB / 1.032 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.05e-05/0.9403, allocations: 43.97 kB / 1.032 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001315/0.9417, allocations: 0.6317 MB / 1.032 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9417, allocations: 4 kB / 1.032 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00134/0.943, allocations: 327.3 kB / 1.033 GB, free: 9.445 MB / 0.8106 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.0007341/0.9437, allocations: 320 kB / 1.033 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002622/0.9464, allocations: 1.044 MB / 1.034 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/0.9464, allocations: 8.125 kB / 1.034 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.9475, allocations: 0.5016 MB / 1.034 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.9495, allocations: 385.4 kB / 1.035 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.9535, allocations: 2.052 MB / 1.037 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/0.9541, allocations: 485.6 kB / 1.037 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0009157/0.955, allocations: 231.9 kB / 1.038 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.9553, allocations: 67.41 kB / 1.038 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of SimCode: time 8.31e-07/0.9553, allocations: 4 kB / 1.038 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of Templates: time 0.03538/0.9907, allocations: 19.35 MB / 1.056 GB, free: 1.188 MB / 0.8263 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.487710179761052] Failed to read output from testmodel.py, exit status != 0: 1.0004596039652824 1.015303306 0.130443937 Calling exit ...