Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00102/0.00102, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.000917/0.000917, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.9207/0.9207, allocations: 177.2 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7538/0.7538, allocations: 154.6 MB / 414.5 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.591e-05/3.761e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5417/0.5417, allocations: 214.2 MB / 0.8286 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.5525, allocations: 8.086 MB / 0.8365 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.5542, allocations: 95.41 kB / 0.8366 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.5564, allocations: 1.062 MB / 0.8376 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006118/0.5625, allocations: 3.289 MB / 0.8408 GB, free: 364 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006528/0.5691, allocations: 3.701 MB / 0.8444 GB, free: 12.8 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004321/0.5734, allocations: 4.087 MB / 0.8484 GB, free: 8.699 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.5745, allocations: 1.142 MB / 0.8496 GB, free: 7.527 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003454/0.578, allocations: 2.851 MB / 0.8523 GB, free: 4.668 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.5792, allocations: 1.27 MB / 0.8536 GB, free: 3.395 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.5793, allocations: 143.9 kB / 0.8537 GB, free: 3.254 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00488/0.5842, allocations: 3.232 MB / 0.8569 GB, free: 12 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000425/0.5846, allocations: 0.654 MB / 0.8575 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000525/0.5851, allocations: 0.6897 MB / 0.8582 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003867/0.589, allocations: 3.914 MB / 0.862 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.589, allocations: 0 / 0.862 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.004e-06/0.589, allocations: 0 / 0.862 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.589, allocations: 0 / 0.862 GB, free: 10.74 MB / 0.7136 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.003382/0.5924, allocations: 2.658 MB / 0.8646 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.5925, allocations: 8.031 kB / 0.8646 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00379/0.5962, allocations: 1.337 MB / 0.8659 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.5979, allocations: 1.17 MB / 0.8671 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.541e-05/0.5979, allocations: 102.6 kB / 0.8672 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.5981, allocations: 132 kB / 0.8673 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.6006, allocations: 2.075 MB / 0.8693 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.6006, allocations: 3.938 kB / 0.8693 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.6007, allocations: 59.98 kB / 0.8694 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-05/0.6008, allocations: 66.41 kB / 0.8694 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/0.6038, allocations: 2.187 MB / 0.8716 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006428/0.6103, allocations: 6.226 MB / 0.8777 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.6129, allocations: 1.82 MB / 0.8794 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.6142, allocations: 0.9327 MB / 0.8803 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005205/0.6148, allocations: 196.8 kB / 0.8805 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0017/0.6165, allocations: 1.067 MB / 0.8816 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 4.719e-06/0.6165, allocations: 0 / 0.8816 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.004597/0.6211, allocations: 2.88 MB / 0.8844 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.6211, allocations: 64.41 kB / 0.8844 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.6223, allocations: 1.379 MB / 0.8858 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.458e-05/0.6224, allocations: 49.7 kB / 0.8858 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004781/0.6229, allocations: 0.835 MB / 0.8867 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/0.6231, allocations: 432.3 kB / 0.8871 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.6234, allocations: 238.8 kB / 0.8873 GB, free: 416 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.6235, allocations: 353.9 kB / 0.8876 GB, free: 56 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.625, allocations: 0.8339 MB / 0.8884 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.6265, allocations: 1.372 MB / 0.8898 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002674/0.6291, allocations: 1.942 MB / 0.8917 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.6291, allocations: 4 kB / 0.8917 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003051/0.6322, allocations: 2.187 MB / 0.8938 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.6322, allocations: 8 kB / 0.8938 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.6322, allocations: 11.38 kB / 0.8938 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.6323, allocations: 16 kB / 0.8939 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009998/0.6333, allocations: 403.6 kB / 0.8942 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.6333, allocations: 19.92 kB / 0.8943 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00088/0.6342, allocations: 258.9 kB / 0.8945 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/0.6344, allocations: 63.97 kB / 0.8946 GB, free: 8.664 MB / 0.7448 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.0005036/0.6349, allocations: 396.3 kB / 0.8949 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.6351, allocations: 170.9 kB / 0.8951 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003061/0.6381, allocations: 2.201 MB / 0.8973 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.6382, allocations: 15.98 kB / 0.8973 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6382, allocations: 3.125 kB / 0.8973 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.6382, allocations: 3.984 kB / 0.8973 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005082/0.6433, allocations: 4.183 MB / 0.9014 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.6433, allocations: 8 kB / 0.9014 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.6443, allocations: 343.6 kB / 0.9017 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.6443, allocations: 15.94 kB / 0.9017 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.6444, allocations: 39.97 kB / 0.9018 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/0.6444, allocations: 15.94 kB / 0.9018 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.6444, allocations: 11.94 kB / 0.9018 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004443/0.6488, allocations: 3.476 MB / 0.9052 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/0.6493, allocations: 314.6 kB / 0.9055 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.6494, allocations: 35.92 kB / 0.9055 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/0.6501, allocations: 167.8 kB / 0.9057 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.6503, allocations: 96.72 kB / 0.9058 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-05/0.6503, allocations: 51.97 kB / 0.9058 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008068/0.6511, allocations: 0.928 MB / 0.9067 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.6511, allocations: 0 / 0.9067 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001094/0.6522, allocations: 0.5186 MB / 0.9072 GB, free: 11.45 MB / 0.7605 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.001132/0.6534, allocations: 0.6143 MB / 0.9078 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003091/0.6565, allocations: 1.923 MB / 0.9097 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6565, allocations: 4.25 kB / 0.9097 GB, free: 9.141 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.6578, allocations: 0.9789 MB / 0.9107 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.6595, allocations: 0.7238 MB / 0.9114 GB, free: 7.477 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/0.6655, allocations: 4.209 MB / 0.9155 GB, free: 3.145 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.6662, allocations: 0.8105 MB / 0.9163 GB, free: 2.293 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/0.6667, allocations: 156.4 kB / 0.9164 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of SimCode: time 1.172e-06/0.6667, allocations: 0 / 0.9164 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of Templates: time 0.02475/0.6915, allocations: 28.53 MB / 0.9443 GB, free: 5.891 MB / 0.7917 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.3932087989524] Failed to read output from testmodel.py, exit status != 0: 0.697819173336029 0.7049858729999999 0.114287948 Calling exit ...