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.001261/0.001261, allocations: 79.86 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.001401/0.001401, allocations: 166 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.428/1.428, 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 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 1.209/1.209, allocations: 154.6 MB / 413.8 MB, free: 5.211 MB / 382.1 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 178] 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.874e-06/1.874e-06, allocations: 0 / 0.6186 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.963e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6351/0.6351, allocations: 214.3 MB / 0.8278 GB, free: 13.09 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01649/0.6516, allocations: 8.081 MB / 0.8357 GB, free: 5.648 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.6542, allocations: 95.12 kB / 0.8358 GB, free: 5.555 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003613/0.6578, allocations: 1.064 MB / 0.8369 GB, free: 4.484 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009911/0.6678, allocations: 3.303 MB / 0.8401 GB, free: 1.164 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00979/0.6776, allocations: 3.686 MB / 0.8437 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006592/0.6841, allocations: 4.09 MB / 0.8477 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/0.6869, allocations: 1.137 MB / 0.8488 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007237/0.6941, allocations: 2.855 MB / 0.8516 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002772/0.6969, allocations: 1.282 MB / 0.8528 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005787/0.6975, allocations: 139.9 kB / 0.853 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007924/0.7054, allocations: 3.228 MB / 0.8561 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.7065, allocations: 0.654 MB / 0.8568 GB, free: 20 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.7084, allocations: 0.6897 MB / 0.8574 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.009844/0.7183, allocations: 3.91 MB / 0.8613 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7183, allocations: 0 / 0.8613 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7183, allocations: 0 / 0.8613 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001085/0.7184, allocations: 0 / 0.8613 GB, free: 11.41 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.01064/0.729, allocations: 2.666 MB / 0.8639 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 7.76e-05/0.7291, allocations: 13.47 kB / 0.8639 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00975/0.7389, allocations: 1.329 MB / 0.8652 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003244/0.7421, allocations: 1.17 MB / 0.8663 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.7422, allocations: 98.59 kB / 0.8664 GB, free: 6.035 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005416/0.7428, allocations: 136 kB / 0.8665 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005955/0.7487, allocations: 2.075 MB / 0.8686 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.7488, allocations: 7.938 kB / 0.8686 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/0.749, allocations: 52 kB / 0.8686 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.7491, allocations: 66.41 kB / 0.8687 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006754/0.7558, allocations: 2.191 MB / 0.8708 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.7687, allocations: 6.213 MB / 0.8769 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005533/0.7743, allocations: 1.817 MB / 0.8787 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002794/0.7771, allocations: 0.9373 MB / 0.8796 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.7781, allocations: 204.8 kB / 0.8798 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003162/0.7813, allocations: 1.066 MB / 0.8808 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=119): time 4.508e-06/0.7813, allocations: 0 / 0.8808 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=119): time 0.009573/0.7909, allocations: 2.876 MB / 0.8836 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.7909, allocations: 68.41 kB / 0.8837 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.7932, allocations: 1.379 MB / 0.885 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.7933, allocations: 49.7 kB / 0.8851 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008192/0.7941, allocations: 0.8389 MB / 0.8859 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/0.7946, allocations: 428.3 kB / 0.8863 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004909/0.7951, allocations: 238.8 kB / 0.8865 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.7953, allocations: 357.9 kB / 0.8869 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002655/0.7979, allocations: 0.8339 MB / 0.8877 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003093/0.801, allocations: 1.366 MB / 0.889 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005582/0.8066, allocations: 1.946 MB / 0.8909 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.8066, allocations: 4 kB / 0.8909 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006636/0.8133, allocations: 2.187 MB / 0.8931 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.8133, allocations: 12 kB / 0.8931 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.8133, allocations: 8 kB / 0.8931 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.307e-05/0.8134, allocations: 15.98 kB / 0.8931 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/0.8156, allocations: 403.7 kB / 0.8935 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.024e-05/0.8157, allocations: 19.94 kB / 0.8935 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.8178, allocations: 255 kB / 0.8938 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.818, allocations: 63.95 kB / 0.8938 GB, free: 9.332 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.0009256/0.8189, allocations: 397.2 kB / 0.8942 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/0.8194, allocations: 170.9 kB / 0.8944 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006925/0.8264, allocations: 2.207 MB / 0.8965 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.8264, allocations: 12 kB / 0.8965 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.8264, allocations: 0 / 0.8965 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.8264, allocations: 11.92 kB / 0.8965 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.8376, allocations: 4.176 MB / 0.9006 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/0.8376, allocations: 13.28 kB / 0.9006 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/0.8398, allocations: 339.5 kB / 0.9009 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.583e-05/0.8398, allocations: 15.94 kB / 0.901 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.84, allocations: 39.97 kB / 0.901 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.287e-05/0.84, allocations: 19.92 kB / 0.901 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.84, allocations: 11.94 kB / 0.901 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009907/0.8499, allocations: 3.472 MB / 0.9044 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009041/0.8508, allocations: 310.5 kB / 0.9047 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004381/0.8512, allocations: 43.73 kB / 0.9048 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/0.8532, allocations: 167.8 kB / 0.9049 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.8535, allocations: 100.7 kB / 0.905 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.8536, allocations: 51.97 kB / 0.9051 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001649/0.8553, allocations: 0.928 MB / 0.906 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8553, allocations: 0 / 0.906 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001835/0.8571, allocations: 0.5186 MB / 0.9065 GB, free: 12.11 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.00219/0.8593, allocations: 0.6121 MB / 0.9071 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006105/0.8654, allocations: 1.919 MB / 0.9089 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.8654, allocations: 4.062 kB / 0.909 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003061/0.8685, allocations: 0.9789 MB / 0.9099 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00394/0.8724, allocations: 0.7163 MB / 0.9106 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.8853, allocations: 4.136 MB / 0.9146 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.8865, allocations: 0.8066 MB / 0.9154 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001982/0.8884, allocations: 436 kB / 0.9159 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007678/0.8892, allocations: 136.4 kB / 0.916 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of SimCode: time 2.073e-06/0.8892, allocations: 0 / 0.916 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of Templates: time 0.05394/0.9432, allocations: 29.59 MB / 0.9449 GB, free: 5.582 MB / 0.7794 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: 7.6475490629673] Failed to read output from testmodel.py, exit status != 0: 0.9532186314463615 0.969181829 0.247448034 Calling exit ...