Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.00164/0.00164, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001972/0.001972, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.232/1.232, allocations: 154.6 MB / 413.7 MB, free: 5.309 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6186 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.074e-05, allocations: 8.078 kB / 0.6186 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6071/0.6071, allocations: 214.3 MB / 0.8278 GB, free: 13.17 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.6224, allocations: 8.081 MB / 0.8357 GB, free: 5.746 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.6247, allocations: 95.12 kB / 0.8358 GB, free: 5.652 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00279/0.6275, allocations: 1.064 MB / 0.8368 GB, free: 4.582 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008652/0.6361, allocations: 3.288 MB / 0.84 GB, free: 1.277 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009011/0.6451, allocations: 3.681 MB / 0.8436 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006485/0.6516, allocations: 4.009 MB / 0.8476 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.654, allocations: 1.096 MB / 0.8486 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005827/0.6598, allocations: 2.828 MB / 0.8514 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.6619, allocations: 1.239 MB / 0.8526 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.6621, allocations: 132 kB / 0.8527 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006447/0.6686, allocations: 3.224 MB / 0.8559 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007232/0.6693, allocations: 0.6462 MB / 0.8565 GB, free: 352 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.6703, allocations: 0.6663 MB / 0.8571 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006724/0.6771, allocations: 3.871 MB / 0.8609 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6771, allocations: 4 kB / 0.8609 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6771, allocations: 0 / 0.8609 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.169e-05/0.6771, allocations: 0 / 0.8609 GB, free: 11.79 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.006315/0.6834, allocations: 2.631 MB / 0.8635 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.6834, allocations: 10.69 kB / 0.8635 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007717/0.6912, allocations: 1.146 MB / 0.8646 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.6935, allocations: 1.15 MB / 0.8658 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.009e-05/0.6935, allocations: 102 kB / 0.8659 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.6938, allocations: 128 kB / 0.866 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004319/0.6981, allocations: 1.963 MB / 0.8679 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.6982, allocations: 7.938 kB / 0.8679 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.6983, allocations: 48 kB / 0.8679 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-05/0.6984, allocations: 74.28 kB / 0.868 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00496/0.7034, allocations: 1.898 MB / 0.8699 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009945/0.7133, allocations: 6.524 MB / 0.8762 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004234/0.7175, allocations: 1.457 MB / 0.8777 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/0.7196, allocations: 0.7493 MB / 0.8784 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.7206, allocations: 202.8 kB / 0.8786 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002379/0.723, allocations: 0.8911 MB / 0.8795 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 3.567e-06/0.723, allocations: 0 / 0.8795 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106): time 0.007268/0.7303, allocations: 2.4 MB / 0.8818 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.7303, allocations: 60.41 kB / 0.8819 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.7323, allocations: 1.417 MB / 0.8832 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.7325, allocations: 49.7 kB / 0.8833 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000762/0.7332, allocations: 0.862 MB / 0.8841 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/0.7336, allocations: 384.7 kB / 0.8845 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004286/0.734, allocations: 234.8 kB / 0.8847 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.7342, allocations: 353.9 kB / 0.8851 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.7362, allocations: 0.6739 MB / 0.8857 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002459/0.7387, allocations: 1.283 MB / 0.887 GB, free: 420 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00437/0.743, allocations: 1.726 MB / 0.8887 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.7431, allocations: 4 kB / 0.8887 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005163/0.7482, allocations: 1.918 MB / 0.8905 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.7482, allocations: 15.97 kB / 0.8905 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.7483, allocations: 12 kB / 0.8906 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.981e-05/0.7483, allocations: 16 kB / 0.8906 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.7502, allocations: 363.4 kB / 0.8909 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-05/0.7502, allocations: 24.02 kB / 0.8909 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.7519, allocations: 218.9 kB / 0.8912 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.7521, allocations: 67.97 kB / 0.8912 GB, free: 11.91 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (157): * Single equations (assignments): 157 * 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.000757/0.7528, allocations: 404.3 kB / 0.8916 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.7531, allocations: 170.9 kB / 0.8918 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005059/0.7582, allocations: 1.849 MB / 0.8936 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.7582, allocations: 12 kB / 0.8936 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.7582, allocations: 0.625 kB / 0.8936 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.7582, allocations: 7.969 kB / 0.8936 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008217/0.7664, allocations: 3.733 MB / 0.8972 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.7664, allocations: 12.06 kB / 0.8972 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.7681, allocations: 279.2 kB / 0.8975 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.777e-05/0.7681, allocations: 8 kB / 0.8975 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.7682, allocations: 39.97 kB / 0.8976 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/0.7682, allocations: 11.94 kB / 0.8976 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/0.7683, allocations: 11.94 kB / 0.8976 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00743/0.7757, allocations: 2.956 MB / 0.9005 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007874/0.7765, allocations: 290.6 kB / 0.9007 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.7767, allocations: 27.98 kB / 0.9008 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.7781, allocations: 123.9 kB / 0.9009 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.7784, allocations: 100.6 kB / 0.901 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/0.7785, allocations: 51.97 kB / 0.901 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001441/0.78, allocations: 0.9447 MB / 0.902 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.78, allocations: 0 / 0.902 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001562/0.7815, allocations: 0.4952 MB / 0.9024 GB, free: 176 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (112): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002128/0.7837, allocations: 0.6025 MB / 0.903 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004931/0.7886, allocations: 1.615 MB / 0.9046 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/0.7886, allocations: 4 kB / 0.9046 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/0.7909, allocations: 0.7997 MB / 0.9054 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003675/0.7946, allocations: 0.6963 MB / 0.9061 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006907/0.8015, allocations: 3.325 MB / 0.9093 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008942/0.8024, allocations: 0.7978 MB / 0.9101 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001684/0.8041, allocations: 415.9 kB / 0.9105 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005405/0.8046, allocations: 132.5 kB / 0.9106 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of SimCode: time 1.473e-06/0.8046, allocations: 0 / 0.9106 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of Templates: time 0.05119/0.8558, allocations: 28.18 MB / 0.9381 GB, free: 12.39 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.593154314905405] Failed to read output from testmodel.py, exit status != 0: 0.8650854118168354 0.880219468 0.19972932100000002 Calling exit ...