Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.001254/0.001254, allocations: 80.06 kB / 19.18 MB, free: 2.516 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.001369/0.001369, allocations: 164.6 kB / 22.46 MB, free: 5.375 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.466/1.466, allocations: 177.1 MB / 202.8 MB, free: 9.152 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.208/1.208, allocations: 154.6 MB / 413.8 MB, free: 5.223 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.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6186 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 7.316e-05/7.487e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6017/0.6018, allocations: 149.5 MB / 0.7646 GB, free: 14 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009372/0.6111, allocations: 6.549 MB / 0.771 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005646/0.6117, allocations: 17.88 kB / 0.771 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006713/0.6124, allocations: 178.5 kB / 0.7711 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003863/0.6162, allocations: 1.324 MB / 0.7724 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.6184, allocations: 0.7264 MB / 0.7731 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.6195, allocations: 0.7511 MB / 0.7739 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004601/0.62, allocations: 231.4 kB / 0.7741 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.6218, allocations: 0.8467 MB / 0.7749 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009326/0.6228, allocations: 407 kB / 0.7753 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.6228, allocations: 30.81 kB / 0.7753 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.6248, allocations: 1.057 MB / 0.7764 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.625, allocations: 125.5 kB / 0.7765 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.6251, allocations: 120.6 kB / 0.7766 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.6266, allocations: 0.9234 MB / 0.7775 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.6266, allocations: 3.984 kB / 0.7775 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6266, allocations: 0 / 0.7775 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.6266, allocations: 0 / 0.7775 GB, free: 5.578 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001084/0.6277, allocations: 0.6257 MB / 0.7781 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.6277, allocations: 12.88 kB / 0.7781 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.6288, allocations: 129.5 kB / 0.7783 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005362/0.6293, allocations: 277.4 kB / 0.7785 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.821e-05/0.6294, allocations: 73.66 kB / 0.7786 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.6294, allocations: 31.62 kB / 0.7786 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.6301, allocations: 399.3 kB / 0.779 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6301, allocations: 0 / 0.779 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.6302, allocations: 10.88 kB / 0.779 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.6302, allocations: 5.312 kB / 0.779 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.6307, allocations: 268.8 kB / 0.7793 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.6324, allocations: 1.07 MB / 0.7803 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.6328, allocations: 193.1 kB / 0.7805 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.633, allocations: 108.5 kB / 0.7806 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007496/0.6337, allocations: 142 kB / 0.7808 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.6338, allocations: 37.5 kB / 0.7808 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.6338, allocations: 0 / 0.7808 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0009385/0.6347, allocations: 357.6 kB / 0.7811 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.6348, allocations: 56.88 kB / 0.7812 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.635, allocations: 237.4 kB / 0.7814 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.635, allocations: 29.7 kB / 0.7814 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.6352, allocations: 195.7 kB / 0.7816 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.6352, allocations: 56.62 kB / 0.7817 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/0.6353, allocations: 44.48 kB / 0.7817 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6355, allocations: 332 kB / 0.782 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.6357, allocations: 85.58 kB / 0.7821 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.636, allocations: 221.6 kB / 0.7823 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.6364, allocations: 239.9 kB / 0.7826 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.6364, allocations: 2.969 kB / 0.7826 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005881/0.637, allocations: 271.7 kB / 0.7828 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.637, allocations: 9.5 kB / 0.7828 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.637, allocations: 6.844 kB / 0.7828 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.637, allocations: 2.188 kB / 0.7828 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.6372, allocations: 41.42 kB / 0.7829 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.6372, allocations: 6.297 kB / 0.7829 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.6374, allocations: 22.83 kB / 0.7829 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.6375, allocations: 11.8 kB / 0.7829 GB, free: 1.508 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001714/0.6376, allocations: 154.2 kB / 0.7831 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.6377, allocations: 26.28 kB / 0.7831 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006978/0.6384, allocations: 316.8 kB / 0.7834 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.6384, allocations: 2.688 kB / 0.7834 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.6384, allocations: 0 / 0.7834 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6385, allocations: 0 / 0.7834 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.6397, allocations: 0.7149 MB / 0.7841 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6397, allocations: 0 / 0.7841 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.6399, allocations: 41.7 kB / 0.7841 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.6399, allocations: 3.984 kB / 0.7841 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.6399, allocations: 5.156 kB / 0.7841 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.6399, allocations: 2.938 kB / 0.7841 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6399, allocations: 2.031 kB / 0.7841 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006228/0.6406, allocations: 402.8 kB / 0.7845 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.6407, allocations: 48.17 kB / 0.7846 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.6407, allocations: 13.09 kB / 0.7846 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.6409, allocations: 12.08 kB / 0.7846 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.641, allocations: 23.97 kB / 0.7846 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.641, allocations: 11.41 kB / 0.7846 GB, free: 248 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001462/0.6412, allocations: 171 kB / 0.7848 GB, free: 124 kB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.6412, allocations: 0 / 0.7848 GB, free: 124 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000481/0.6417, allocations: 128.8 kB / 0.7849 GB, free: 88 kB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.000475/0.6421, allocations: 225.1 kB / 0.7851 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004762/0.6426, allocations: 210.5 kB / 0.7853 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6426, allocations: 0 / 0.7853 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.6429, allocations: 114 kB / 0.7854 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006596/0.6435, allocations: 110 kB / 0.7855 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.6445, allocations: 0.572 MB / 0.7861 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.6447, allocations: 181.8 kB / 0.7863 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002081/0.6449, allocations: 72.94 kB / 0.7863 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.665e-05/0.645, allocations: 36.53 kB / 0.7864 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.645, allocations: 0 / 0.7864 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of Templates: time 0.011/0.656, allocations: 5.909 MB / 0.7922 GB, free: 12.14 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.625469155609608] Failed to read output from testmodel.py, exit status != 0: 0.664304967969656 0.677866446 0.048346361000000004 Calling exit ...