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.0009859/0.0009859, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001005/0.001005, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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.072/1.072, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.7593/0.7593, allocations: 154.8 MB / 414.7 MB, free: 492 kB / 378.7 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 179] 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 2.214e-06/2.214e-06, allocations: 3.938 kB / 0.5206 GB, free: 1.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.513e-05, allocations: 7.812 kB / 0.5206 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1769/0.1769, allocations: 154 MB / 0.671 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007537/0.1845, allocations: 5.008 MB / 0.6759 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.1855, allocations: 95.12 kB / 0.676 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.1865, allocations: 0.6328 MB / 0.6766 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.3/0.4865, allocations: 1.791 MB / 0.6784 GB, free: 49.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.4898, allocations: 1.582 MB / 0.6799 GB, free: 49.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004433/0.4942, allocations: 4.062 MB / 0.6839 GB, free: 49.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.4958, allocations: 1.184 MB / 0.685 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.4983, allocations: 1.921 MB / 0.6869 GB, free: 49.18 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.4999, allocations: 1.277 MB / 0.6881 GB, free: 49.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.5001, allocations: 140.6 kB / 0.6883 GB, free: 49.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009747/0.5011, allocations: 476.2 kB / 0.6887 GB, free: 49.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004395/0.5015, allocations: 0.6661 MB / 0.6894 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006815/0.5022, allocations: 0.6901 MB / 0.6901 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.5038, allocations: 1.757 MB / 0.6918 GB, free: 48.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5038, allocations: 4.375 kB / 0.6918 GB, free: 48.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5038, allocations: 3.094 kB / 0.6918 GB, free: 48.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.249e-05/0.5038, allocations: 0 / 0.6918 GB, free: 48.6 MB / 0.6355 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.002904/0.5067, allocations: 2.459 MB / 0.6942 GB, free: 47.37 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.5068, allocations: 9.438 kB / 0.6942 GB, free: 47.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003683/0.5104, allocations: 1.415 MB / 0.6956 GB, free: 47.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.5117, allocations: 1.231 MB / 0.6968 GB, free: 46.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.544e-05/0.5118, allocations: 103.5 kB / 0.6969 GB, free: 46.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.512, allocations: 134 kB / 0.697 GB, free: 46.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.5137, allocations: 1.539 MB / 0.6985 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.5138, allocations: 9.875 kB / 0.6985 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.39e-05/0.5139, allocations: 53.17 kB / 0.6986 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.435e-05/0.5139, allocations: 69.78 kB / 0.6986 GB, free: 46.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.5153, allocations: 0.9171 MB / 0.6995 GB, free: 46.28 MB / 0.6355 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.004888/0.5201, allocations: 6.706 MB / 0.7061 GB, free: 42.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.5215, allocations: 0.8776 MB / 0.7069 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/0.522, allocations: 364.5 kB / 0.7073 GB, free: 42.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.5222, allocations: 74.92 kB / 0.7074 GB, free: 42.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006376/0.5229, allocations: 0.5132 MB / 0.7079 GB, free: 42.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=119): time 3.076e-06/0.5229, allocations: 0.7812 kB / 0.7079 GB, free: 42.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=119): time 0.002198/0.5251, allocations: 1.286 MB / 0.7091 GB, free: 42.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.5251, allocations: 65.62 kB / 0.7092 GB, free: 42.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.5263, allocations: 1.215 MB / 0.7104 GB, free: 41.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.251e-05/0.5264, allocations: 54.64 kB / 0.7104 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/0.5268, allocations: 0.8914 MB / 0.7113 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.5271, allocations: 435.4 kB / 0.7117 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.5274, allocations: 243.8 kB / 0.7119 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.5274, allocations: 0.5306 MB / 0.7124 GB, free: 40.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.5279, allocations: 270.1 kB / 0.7127 GB, free: 40.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007928/0.5287, allocations: 0.8955 MB / 0.7136 GB, free: 40 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.5299, allocations: 0.9349 MB / 0.7145 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.5299, allocations: 2.531 kB / 0.7145 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001692/0.5316, allocations: 1.133 MB / 0.7156 GB, free: 39.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.5317, allocations: 10 kB / 0.7156 GB, free: 39.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5317, allocations: 7.281 kB / 0.7156 GB, free: 39.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/0.5317, allocations: 15.88 kB / 0.7156 GB, free: 39.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009578/0.5327, allocations: 354.8 kB / 0.716 GB, free: 39.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.5327, allocations: 17.09 kB / 0.716 GB, free: 39.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/0.5334, allocations: 190.6 kB / 0.7162 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.5335, allocations: 65.45 kB / 0.7162 GB, free: 39.36 MB / 0.6355 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.0002962/0.5338, allocations: 244.4 kB / 0.7165 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.534, allocations: 210.5 kB / 0.7167 GB, free: 39.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.5356, allocations: 1.11 MB / 0.7177 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.5356, allocations: 13.12 kB / 0.7178 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5356, allocations: 0 / 0.7178 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.5356, allocations: 6.75 kB / 0.7178 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/0.5389, allocations: 2.603 MB / 0.7203 GB, free: 38.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.539, allocations: 7.281 kB / 0.7203 GB, free: 38.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008106/0.5398, allocations: 280.5 kB / 0.7206 GB, free: 38.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.5398, allocations: 12.53 kB / 0.7206 GB, free: 38.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.5399, allocations: 49.2 kB / 0.7206 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/0.5399, allocations: 15.47 kB / 0.7207 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.5399, allocations: 14.27 kB / 0.7207 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.542, allocations: 1.729 MB / 0.7224 GB, free: 37.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.5424, allocations: 300.3 kB / 0.7226 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.5425, allocations: 36.22 kB / 0.7227 GB, free: 37.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006009/0.5431, allocations: 104 kB / 0.7228 GB, free: 37.49 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.5432, allocations: 103.9 kB / 0.7229 GB, free: 37.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/0.5433, allocations: 54.98 kB / 0.7229 GB, free: 37.49 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006019/0.5439, allocations: 0.7338 MB / 0.7236 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5439, allocations: 0 / 0.7236 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009247/0.5449, allocations: 0.5099 MB / 0.7241 GB, free: 37.27 MB / 0.6355 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.001014/0.5459, allocations: 475.3 kB / 0.7246 GB, free: 37.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.5471, allocations: 0.8373 MB / 0.7254 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5471, allocations: 0 / 0.7254 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000611/0.5477, allocations: 452.1 kB / 0.7258 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.5496, allocations: 0.78 MB / 0.7266 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006743/0.5563, allocations: 3.633 MB / 0.7302 GB, free: 35.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.5567, allocations: 355.7 kB / 0.7305 GB, free: 35.31 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001284/0.558, allocations: 375.6 kB / 0.7309 GB, free: 35.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.5584, allocations: 140.5 kB / 0.731 GB, free: 35.17 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.5584, allocations: 0 / 0.731 GB, free: 35.17 MB / 0.6355 GB Notification: Performance of Templates: time 0.03907/0.5975, allocations: 28.66 MB / 0.759 GB, free: 30.97 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.063234635163099]