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.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.001466/0.001466, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001599/0.001599, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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 0.9959/0.9959, allocations: 177.1 MB / 204.5 MB, free: 5.531 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.8002/0.8002, allocations: 154.9 MB / 415.9 MB, free: 260 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_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 1.733e-06/1.733e-06, allocations: 0 / 0.5219 GB, free: 404 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.59e-05, allocations: 4.422 kB / 0.5219 GB, free: 400 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03096/0.03099, allocations: 13.41 MB / 0.535 GB, free: 2.973 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0167/0.04768, allocations: 5.011 MB / 0.5399 GB, free: 14 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002884/0.05057, allocations: 95.12 kB / 0.54 GB, free: 13.91 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.05302, allocations: 0.6022 MB / 0.5406 GB, free: 13.3 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005223/0.05824, allocations: 1.58 MB / 0.5421 GB, free: 11.73 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00475/0.06299, allocations: 1.549 MB / 0.5437 GB, free: 10.18 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.00686/0.06985, allocations: 3.87 MB / 0.5474 GB, free: 6.297 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.07224, allocations: 1.033 MB / 0.5484 GB, free: 5.242 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.07531, allocations: 1.901 MB / 0.5503 GB, free: 3.34 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.07682, allocations: 1.032 MB / 0.5513 GB, free: 2.305 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002509/0.07707, allocations: 104 kB / 0.5514 GB, free: 2.203 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008606/0.07793, allocations: 323.5 kB / 0.5517 GB, free: 1.887 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.07824, allocations: 414.2 kB / 0.5521 GB, free: 1.48 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006631/0.0789, allocations: 0.5692 MB / 0.5527 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.08066, allocations: 1.405 MB / 0.554 GB, free: 15.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.08066, allocations: 1.062 kB / 0.554 GB, free: 15.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.08066, allocations: 0 / 0.554 GB, free: 15.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.047e-05/0.08071, allocations: 3.938 kB / 0.554 GB, free: 15.49 MB / 490.7 MB 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.003258/0.08397, allocations: 2.128 MB / 0.5561 GB, free: 13.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.08401, allocations: 14.36 kB / 0.5561 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.08565, allocations: 0.6009 MB / 0.5567 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.08715, allocations: 1.133 MB / 0.5578 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.08721, allocations: 86.14 kB / 0.5579 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.08733, allocations: 110.7 kB / 0.558 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.08872, allocations: 1.201 MB / 0.5592 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.08875, allocations: 7.875 kB / 0.5592 GB, free: 9.938 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/0.08882, allocations: 48 kB / 0.5592 GB, free: 9.891 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.08884, allocations: 36 kB / 0.5593 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/0.08948, allocations: 464.9 kB / 0.5597 GB, free: 9.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005439/0.09492, allocations: 7.689 MB / 0.5672 GB, free: 1.469 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000925/0.09584, allocations: 499.2 kB / 0.5677 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.09607, allocations: 198.9 kB / 0.5679 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.09631, allocations: 77.89 kB / 0.568 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004299/0.09674, allocations: 351.4 kB / 0.5683 GB, free: 368 kB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 4.228e-06/0.09674, allocations: 0.7812 kB / 0.5683 GB, free: 368 kB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.001343/0.09808, allocations: 0.7958 MB / 0.5691 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.09812, allocations: 60.41 kB / 0.5691 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008455/0.09897, allocations: 1.209 MB / 0.5703 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.09903, allocations: 45.7 kB / 0.5704 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.0995, allocations: 0.8808 MB / 0.5712 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.0997, allocations: 310.3 kB / 0.5715 GB, free: 13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.09992, allocations: 232.3 kB / 0.5717 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1001, allocations: 0.5237 MB / 0.5723 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.1003, allocations: 156.9 kB / 0.5724 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.1008, allocations: 0.9023 MB / 0.5733 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007463/0.1016, allocations: 0.8595 MB / 0.5741 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.1016, allocations: 4 kB / 0.5741 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001117/0.1027, allocations: 0.9355 MB / 0.575 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1027, allocations: 8 kB / 0.575 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.1027, allocations: 13.06 kB / 0.5751 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.1028, allocations: 16 kB / 0.5751 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/0.1036, allocations: 305.1 kB / 0.5754 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.1036, allocations: 23.92 kB / 0.5754 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/0.1041, allocations: 155.1 kB / 0.5755 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/0.1042, allocations: 55.97 kB / 0.5756 GB, free: 8.355 MB / 0.4948 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.0003038/0.1045, allocations: 242.2 kB / 0.5758 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.1047, allocations: 194.9 kB / 0.576 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.1062, allocations: 1.137 MB / 0.5771 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.1062, allocations: 19.98 kB / 0.5771 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1062, allocations: 4 kB / 0.5771 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.1062, allocations: 3.984 kB / 0.5771 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.1086, allocations: 2.065 MB / 0.5792 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.1086, allocations: 0 / 0.5792 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.1091, allocations: 187.7 kB / 0.5793 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.1091, allocations: 8 kB / 0.5793 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-05/0.1092, allocations: 31.97 kB / 0.5794 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.1092, allocations: 7.938 kB / 0.5794 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1092, allocations: 8.062 kB / 0.5794 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.1106, allocations: 1.249 MB / 0.5806 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/0.1109, allocations: 286.4 kB / 0.5809 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.111, allocations: 24 kB / 0.5809 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.1115, allocations: 67.88 kB / 0.581 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.1116, allocations: 80.8 kB / 0.5811 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/0.1116, allocations: 47.95 kB / 0.5811 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004861/0.1121, allocations: 0.6785 MB / 0.5818 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.51e-07/0.1121, allocations: 4 kB / 0.5818 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009161/0.113, allocations: 423.3 kB / 0.5822 GB, free: 1.484 MB / 0.4948 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 (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.001306/0.1143, allocations: 485.4 kB / 0.5826 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009345/0.1153, allocations: 0.6394 MB / 0.5833 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1153, allocations: 8 kB / 0.5833 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000397/0.1157, allocations: 359.7 kB / 0.5836 GB, free: 180 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.1172, allocations: 0.6452 MB / 0.5842 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.1203, allocations: 2.543 MB / 0.5867 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.1206, allocations: 306.5 kB / 0.587 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007702/0.1213, allocations: 309.9 kB / 0.5873 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.1223, allocations: 0.6227 MB / 0.5879 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.412e-06/0.1223, allocations: 4 kB / 0.5879 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of Templates: time 0.03519/0.1575, allocations: 28.59 MB / 0.6158 GB, free: 15.85 MB / 0.5417 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.629680091980845]