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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 189.4 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.129/1.129, allocations: 177.9 MB / 484.2 MB, free: 5.379 MB / 382.1 MB " [Timeout remaining time 178] 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.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: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 74.25 kB / 0.674 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7945/0.7966, allocations: 95.17 MB / 0.7669 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2955/1.092, allocations: 195.2 MB / 0.9575 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01245/1.105, allocations: 6.993 MB / 0.9644 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/1.106, allocations: 67.38 kB / 0.9644 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/1.108, allocations: 0.7103 MB / 0.9651 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006714/1.115, allocations: 2.49 MB / 0.9676 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004022/1.119, allocations: 1.558 MB / 0.9691 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004844/1.124, allocations: 3.056 MB / 0.9721 GB, free: 440 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/1.125, allocations: 0.7155 MB / 0.9728 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004293/1.13, allocations: 1.62 MB / 0.9744 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/1.131, allocations: 0.8489 MB / 0.9752 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000209/1.131, allocations: 100 kB / 0.9753 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004381/1.136, allocations: 2.163 MB / 0.9774 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004919/1.136, allocations: 374.7 kB / 0.9777 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0008264/1.137, allocations: 0.5869 MB / 0.9783 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004359/1.141, allocations: 2.398 MB / 0.9807 GB, free: 7.609 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.141, allocations: 0 / 0.9807 GB, free: 7.609 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.573e-06/1.141, allocations: 0 / 0.9807 GB, free: 7.609 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.45e-05/1.142, allocations: 0 / 0.9807 GB, free: 7.609 MB / 0.7637 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.003842/1.145, allocations: 1.602 MB / 0.9822 GB, free: 5.965 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.145, allocations: 8.031 kB / 0.9822 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/1.149, allocations: 0.5377 MB / 0.9828 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/1.151, allocations: 0.978 MB / 0.9837 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-05/1.151, allocations: 53.3 kB / 0.9838 GB, free: 4.359 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.151, allocations: 75.88 kB / 0.9838 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/1.154, allocations: 1.101 MB / 0.9849 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/1.154, allocations: 0 / 0.9849 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.926e-05/1.154, allocations: 32 kB / 0.9849 GB, free: 3.125 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/1.154, allocations: 33.3 kB / 0.985 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003389/1.158, allocations: 1.161 MB / 0.9861 GB, free: 1.93 MB / 0.7637 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.006755/1.164, allocations: 3.129 MB / 0.9892 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/1.166, allocations: 0.6489 MB / 0.9898 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008981/1.167, allocations: 396 kB / 0.9902 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006248/1.168, allocations: 136.3 kB / 0.9903 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/1.169, allocations: 0.5139 MB / 0.9908 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=57): time 2.775e-06/1.169, allocations: 0 / 0.9908 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57): time 0.003644/1.173, allocations: 1.226 MB / 0.992 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/1.173, allocations: 140.8 kB / 0.9921 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/1.175, allocations: 1.18 MB / 0.9933 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/1.175, allocations: 45.69 kB / 0.9933 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004855/1.176, allocations: 437.9 kB / 0.9938 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/1.176, allocations: 194.3 kB / 0.9939 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/1.176, allocations: 150.2 kB / 0.9941 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.176, allocations: 330 kB / 0.9944 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/1.178, allocations: 441 kB / 0.9948 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/1.179, allocations: 0.5863 MB / 0.9954 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/1.181, allocations: 0.941 MB / 0.9963 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.181, allocations: 0 / 0.9963 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003299/1.185, allocations: 1.197 MB / 0.9975 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/1.185, allocations: 33.7 kB / 0.9975 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.185, allocations: 8.219 kB / 0.9975 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/1.185, allocations: 15.98 kB / 0.9975 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009816/1.186, allocations: 183.7 kB / 0.9977 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/1.186, allocations: 11.94 kB / 0.9977 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.187, allocations: 243.1 kB / 0.9979 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.802e-05/1.188, allocations: 39.97 kB / 0.998 GB, free: 5.457 MB / 0.7794 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.0005739/1.188, allocations: 326 kB / 0.9983 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/1.188, allocations: 127.2 kB / 0.9984 GB, free: 5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/1.191, allocations: 0.993 MB / 0.9994 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/1.191, allocations: 19.94 kB / 0.9994 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.191, allocations: 3.938 kB / 0.9994 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.191, allocations: 7.984 kB / 0.9994 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005341/1.196, allocations: 3.134 MB / 1.002 GB, free: 0.6875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.196, allocations: 8 kB / 1.002 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/1.197, allocations: 124.3 kB / 1.003 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/1.197, allocations: 8 kB / 1.003 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/1.197, allocations: 31.98 kB / 1.003 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.375e-05/1.197, allocations: 11.94 kB / 1.003 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/1.197, allocations: 11.94 kB / 1.003 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/1.199, allocations: 1.359 MB / 1.004 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006456/1.2, allocations: 266.9 kB / 1.004 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/1.2, allocations: 24 kB / 1.004 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.201, allocations: 99.91 kB / 1.004 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/1.201, allocations: 67.67 kB / 1.004 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.542e-05/1.201, allocations: 39.97 kB / 1.004 GB, free: 14.53 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001652/1.203, allocations: 0.8482 MB / 1.005 GB, free: 13.67 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/1.203, allocations: 0 / 1.005 GB, free: 13.67 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001131/1.204, allocations: 299.6 kB / 1.006 GB, free: 13.38 MB / 0.795 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.0007819/1.205, allocations: 348.1 kB / 1.006 GB, free: 13.04 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002611/1.208, allocations: 0.9699 MB / 1.007 GB, free: 12.07 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.208, allocations: 4 kB / 1.007 GB, free: 12.06 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/1.209, allocations: 488.8 kB / 1.007 GB, free: 11.57 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/1.212, allocations: 0.5441 MB / 1.008 GB, free: 11.04 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/1.216, allocations: 2.07 MB / 1.01 GB, free: 8.832 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/1.216, allocations: 1.065 MB / 1.011 GB, free: 7.734 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0009887/1.217, allocations: 275.2 kB / 1.011 GB, free: 7.465 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/1.218, allocations: 83.41 kB / 1.011 GB, free: 7.383 MB / 0.795 GB Notification: Performance of SimCode: time 8.41e-07/1.218, allocations: 0 / 1.011 GB, free: 7.383 MB / 0.795 GB Notification: Performance of Templates: time 0.04513/1.263, allocations: 22.69 MB / 1.033 GB, free: 0.918 MB / 0.8106 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.809182312339544] Failed to read output from testmodel.py, exit status != 0: 1.2731384905055165 1.288469558 0.14350195100000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7c33fa57b0>