Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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.001361/0.001361, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.001407/0.001407, allocations: 168 kB / 22.46 MB, free: 5.355 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.405/1.405, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.198/1.198, allocations: 154.6 MB / 413.7 MB, free: 5.277 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.386e-06/3.386e-06, allocations: 3.984 kB / 0.6186 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/3.095e-05, allocations: 7.516 kB / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6067/0.6067, allocations: 214.2 MB / 0.8278 GB, free: 13.19 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.6217, allocations: 8.087 MB / 0.8357 GB, free: 5.785 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.6241, allocations: 95.12 kB / 0.8358 GB, free: 5.691 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003206/0.6273, allocations: 1.064 MB / 0.8368 GB, free: 4.621 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008951/0.6363, allocations: 3.291 MB / 0.84 GB, free: 1.312 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008983/0.6453, allocations: 3.691 MB / 0.8436 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006081/0.6513, allocations: 4.087 MB / 0.8476 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.6535, allocations: 1.129 MB / 0.8487 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006124/0.6596, allocations: 2.871 MB / 0.8515 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/0.662, allocations: 1.27 MB / 0.8528 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003225/0.6624, allocations: 136 kB / 0.8529 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006943/0.6693, allocations: 3.24 MB / 0.8561 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.6704, allocations: 0.6462 MB / 0.8567 GB, free: 172 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.672, allocations: 0.6897 MB / 0.8574 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008929/0.6809, allocations: 3.914 MB / 0.8612 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6809, allocations: 0 / 0.8612 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6809, allocations: 0 / 0.8612 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.595e-05/0.681, allocations: 0 / 0.8612 GB, free: 11.55 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006693/0.6876, allocations: 2.663 MB / 0.8638 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.6877, allocations: 13.47 kB / 0.8638 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009172/0.6969, allocations: 1.329 MB / 0.8651 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.6996, allocations: 1.166 MB / 0.8662 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.6997, allocations: 106.6 kB / 0.8664 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002656/0.7, allocations: 132 kB / 0.8665 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004972/0.7049, allocations: 2.079 MB / 0.8685 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.705, allocations: 4 kB / 0.8685 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.7051, allocations: 55.98 kB / 0.8686 GB, free: 3.812 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.993e-05/0.7052, allocations: 66.41 kB / 0.8686 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006427/0.7116, allocations: 2.187 MB / 0.8708 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.723, allocations: 6.228 MB / 0.8768 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005341/0.7284, allocations: 1.819 MB / 0.8786 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002702/0.7311, allocations: 0.9393 MB / 0.8795 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000993/0.7321, allocations: 200.8 kB / 0.8797 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003003/0.7351, allocations: 1.067 MB / 0.8808 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=119): time 6.352e-06/0.7351, allocations: 7.984 kB / 0.8808 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=119): time 0.009346/0.7444, allocations: 2.869 MB / 0.8836 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.7445, allocations: 64.41 kB / 0.8836 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.7465, allocations: 1.383 MB / 0.885 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.7467, allocations: 45.7 kB / 0.885 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007793/0.7474, allocations: 0.835 MB / 0.8859 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004621/0.7479, allocations: 432.3 kB / 0.8863 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004595/0.7484, allocations: 242.8 kB / 0.8865 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.7485, allocations: 357.9 kB / 0.8868 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/0.7511, allocations: 0.8261 MB / 0.8876 GB, free: 24 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003041/0.7542, allocations: 1.382 MB / 0.889 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005467/0.7596, allocations: 1.934 MB / 0.8909 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.7596, allocations: 4 kB / 0.8909 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006409/0.7661, allocations: 2.182 MB / 0.893 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.7661, allocations: 8 kB / 0.893 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.7661, allocations: 8 kB / 0.893 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/0.7661, allocations: 16.78 kB / 0.893 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/0.7683, allocations: 415.3 kB / 0.8934 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.7684, allocations: 16.09 kB / 0.8935 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.7703, allocations: 254.9 kB / 0.8937 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.7705, allocations: 63.97 kB / 0.8938 GB, free: 9.473 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0008322/0.7713, allocations: 400.3 kB / 0.8941 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.7716, allocations: 170.9 kB / 0.8943 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006484/0.7781, allocations: 2.201 MB / 0.8965 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.7781, allocations: 12 kB / 0.8965 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7781, allocations: 0 / 0.8965 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.7781, allocations: 7.922 kB / 0.8965 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.7881, allocations: 4.179 MB / 0.9006 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.7881, allocations: 8 kB / 0.9006 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/0.7902, allocations: 348.9 kB / 0.9009 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.358e-05/0.7902, allocations: 15.94 kB / 0.9009 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.7903, allocations: 39.97 kB / 0.901 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-05/0.7904, allocations: 15.98 kB / 0.901 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/0.7904, allocations: 15.94 kB / 0.901 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009781/0.8001, allocations: 3.472 MB / 0.9044 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.8014, allocations: 310.5 kB / 0.9047 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/0.8017, allocations: 47.55 kB / 0.9047 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/0.8035, allocations: 163.8 kB / 0.9049 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.8037, allocations: 92.73 kB / 0.905 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.8038, allocations: 55.95 kB / 0.905 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001422/0.8053, allocations: 0.9358 MB / 0.9059 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.8053, allocations: 0 / 0.9059 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001643/0.8069, allocations: 0.5147 MB / 0.9064 GB, free: 12.25 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (125): * Single equations (assignments): 119 * 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.002081/0.809, allocations: 0.5972 MB / 0.907 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005932/0.8149, allocations: 1.926 MB / 0.9089 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.8149, allocations: 0 / 0.9089 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003001/0.8179, allocations: 0.9791 MB / 0.9099 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/0.8215, allocations: 0.7242 MB / 0.9106 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.8336, allocations: 4.141 MB / 0.9146 GB, free: 4.012 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008899/0.8344, allocations: 0.8066 MB / 0.9154 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001722/0.8362, allocations: 432 kB / 0.9158 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005948/0.8368, allocations: 140.4 kB / 0.9159 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of SimCode: time 1.092e-06/0.8368, allocations: 0 / 0.9159 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of Templates: time 0.05216/0.8889, allocations: 29.58 MB / 0.9448 GB, free: 5.707 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.524969600141048] Failed to read output from testmodel.py, exit status != 0: 0.8985678739845753 0.913987514 0.229850608 Calling exit ...