Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001618/0.001618, allocations: 110 kB / 18.93 MB, free: 2.945 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.001916/0.001916, allocations: 192.4 kB / 22.23 MB, free: 5.16 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.504/1.504, 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.155/1.155, allocations: 177.9 MB / 484.2 MB, free: 5.367 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.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 72.59 kB / 0.674 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7088/0.7108, allocations: 95.16 MB / 0.767 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.07194/0.7828, allocations: 55.52 MB / 0.8212 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02117/0.8039, allocations: 10.42 MB / 0.8314 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003507/0.8074, allocations: 95.5 kB / 0.8314 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.811, allocations: 0.915 MB / 0.8323 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008553/0.8196, allocations: 2.034 MB / 0.8343 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008123/0.8277, allocations: 2.215 MB / 0.8365 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009042/0.8367, allocations: 3.819 MB / 0.8402 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002701/0.8394, allocations: 0.9946 MB / 0.8412 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006464/0.8459, allocations: 1.953 MB / 0.8431 GB, free: 280 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003693/0.8496, allocations: 1.271 MB / 0.8443 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005297/0.8501, allocations: 104.4 kB / 0.8444 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005275/0.8554, allocations: 1.367 MB / 0.8458 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008413/0.8562, allocations: 400.2 kB / 0.8462 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002393/0.8586, allocations: 0.8478 MB / 0.847 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007529/0.8662, allocations: 2.471 MB / 0.8494 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.8662, allocations: 0 / 0.8494 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8662, allocations: 0 / 0.8494 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.184e-05/0.8662, allocations: 0 / 0.8494 GB, free: 12.35 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005312/0.8715, allocations: 2.114 MB / 0.8515 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.8716, allocations: 9.812 kB / 0.8515 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004149/0.8757, allocations: 0.6566 MB / 0.8521 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/0.8787, allocations: 1.099 MB / 0.8532 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.828e-05/0.8788, allocations: 79.45 kB / 0.8533 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.879, allocations: 113.1 kB / 0.8534 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/0.8827, allocations: 1.494 MB / 0.8548 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.8827, allocations: 6.625 kB / 0.8548 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.8828, allocations: 48.66 kB / 0.8549 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/0.8829, allocations: 28.62 kB / 0.8549 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003848/0.8867, allocations: 1.232 MB / 0.8561 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.8993, allocations: 8.3 MB / 0.8642 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/0.903, allocations: 1.049 MB / 0.8652 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.9047, allocations: 0.5249 MB / 0.8658 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.9059, allocations: 293 kB / 0.866 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002074/0.9079, allocations: 0.6683 MB / 0.8667 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 3.387e-06/0.9079, allocations: 0 / 0.8667 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.006076/0.914, allocations: 1.803 MB / 0.8684 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.9141, allocations: 64.34 kB / 0.8685 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.9167, allocations: 1.489 MB / 0.87 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.9168, allocations: 49.7 kB / 0.87 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008387/0.9177, allocations: 0.7959 MB / 0.8708 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/0.9181, allocations: 305.4 kB / 0.8711 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000398/0.9185, allocations: 226.8 kB / 0.8713 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.9187, allocations: 349.9 kB / 0.8716 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/0.9205, allocations: 0.5139 MB / 0.8721 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.9227, allocations: 0.8993 MB / 0.873 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/0.9268, allocations: 1.414 MB / 0.8744 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.9268, allocations: 4 kB / 0.8744 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.005096/0.9319, allocations: 1.613 MB / 0.876 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.932, allocations: 14.88 kB / 0.876 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.932, allocations: 24 kB / 0.876 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.369e-05/0.932, allocations: 23.94 kB / 0.876 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.9335, allocations: 343.4 kB / 0.8764 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-05/0.9336, allocations: 27.92 kB / 0.8764 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.9356, allocations: 226.9 kB / 0.8766 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.9358, allocations: 67.95 kB / 0.8767 GB, free: 1.297 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * 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.0008104/0.9366, allocations: 343.4 kB / 0.877 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004605/0.937, allocations: 174.9 kB / 0.8772 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005677/0.9427, allocations: 2.151 MB / 0.8793 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.43e-05/0.9428, allocations: 23.92 kB / 0.8793 GB, free: 14.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.9428, allocations: 0 / 0.8793 GB, free: 14.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.9428, allocations: 3.984 kB / 0.8793 GB, free: 14.59 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008272/0.9511, allocations: 3.336 MB / 0.8825 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.9511, allocations: 0 / 0.8825 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.9523, allocations: 235.9 kB / 0.8828 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.9523, allocations: 4 kB / 0.8828 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-05/0.9524, allocations: 43.95 kB / 0.8828 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/0.9524, allocations: 7.938 kB / 0.8828 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.9525, allocations: 4 kB / 0.8828 GB, free: 10.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007587/0.96, allocations: 2.783 MB / 0.8855 GB, free: 8.082 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.9612, allocations: 322.3 kB / 0.8858 GB, free: 7.766 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.9615, allocations: 28 kB / 0.8859 GB, free: 7.738 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.9627, allocations: 115.9 kB / 0.886 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.9629, allocations: 80.84 kB / 0.8861 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.963, allocations: 55.91 kB / 0.8861 GB, free: 7.488 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001657/0.9647, allocations: 1.007 MB / 0.8871 GB, free: 6.488 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9647, allocations: 0 / 0.8871 GB, free: 6.488 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002086/0.9667, allocations: 0.5418 MB / 0.8876 GB, free: 5.945 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 6 * 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.002696/0.9694, allocations: 0.8474 MB / 0.8885 GB, free: 5.254 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004538/0.974, allocations: 1.434 MB / 0.8899 GB, free: 3.824 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.974, allocations: 0 / 0.8899 GB, free: 3.824 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.9762, allocations: 0.7714 MB / 0.8906 GB, free: 3.059 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004089/0.9803, allocations: 0.7308 MB / 0.8913 GB, free: 2.34 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007089/0.9874, allocations: 3.209 MB / 0.8945 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.9885, allocations: 1.305 MB / 0.8957 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001622/0.9901, allocations: 368.9 kB / 0.8961 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004742/0.9906, allocations: 167.3 kB / 0.8962 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of SimCode: time 9.52e-07/0.9906, allocations: 0 / 0.8962 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of Templates: time 0.06785/1.058, allocations: 33.5 MB / 0.929 GB, free: 12.16 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.994361272081733] Failed to read output from testmodel.py, exit status != 0: 1.069059319794178 1.086821911 0.21661675800000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc91df8d7b0>