Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.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.0009248/0.0009248, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001027/0.001027, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8791/0.8791, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.7095/0.7095, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.564e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.4275/0.4276, allocations: 147.6 MB / 0.7635 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002464/0.43, allocations: 1.494 MB / 0.765 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000404/0.4304, allocations: 19.81 kB / 0.765 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006699/0.4311, allocations: 164.4 kB / 0.7651 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.4334, allocations: 0.7191 MB / 0.7658 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.4356, allocations: 0.6813 MB / 0.7665 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.4367, allocations: 0.7148 MB / 0.7672 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.4371, allocations: 193.1 kB / 0.7674 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.4384, allocations: 0.604 MB / 0.768 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.4387, allocations: 198.2 kB / 0.7682 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.4388, allocations: 22.78 kB / 0.7682 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.4401, allocations: 0.7178 MB / 0.7689 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.4403, allocations: 116.8 kB / 0.769 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.4404, allocations: 126.1 kB / 0.7691 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.4416, allocations: 0.7323 MB / 0.7698 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4417, allocations: 4 kB / 0.7698 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4417, allocations: 0 / 0.7698 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.4417, allocations: 1.438 kB / 0.7698 GB, free: 5.07 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008835/0.4425, allocations: 0.5969 MB / 0.7704 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.4426, allocations: 9.75 kB / 0.7704 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006516/0.4432, allocations: 160.8 kB / 0.7706 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.4436, allocations: 261.4 kB / 0.7708 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.4437, allocations: 18.38 kB / 0.7709 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.4437, allocations: 23.28 kB / 0.7709 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.444, allocations: 283.8 kB / 0.7712 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.4441, allocations: 7.938 kB / 0.7712 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.4441, allocations: 10.44 kB / 0.7712 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4441, allocations: 9.922 kB / 0.7712 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.4444, allocations: 200.4 kB / 0.7714 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008409/0.4452, allocations: 0.9291 MB / 0.7723 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.4454, allocations: 136.1 kB / 0.7724 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.4455, allocations: 98.91 kB / 0.7725 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.4458, allocations: 74.42 kB / 0.7726 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.4458, allocations: 37.38 kB / 0.7726 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 1.203e-06/0.4458, allocations: 0 / 0.7726 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0005054/0.4463, allocations: 296.2 kB / 0.7729 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.4463, allocations: 53.75 kB / 0.7729 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.4465, allocations: 261.4 kB / 0.7732 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.4465, allocations: 31.33 kB / 0.7732 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.4466, allocations: 189.1 kB / 0.7734 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.4466, allocations: 60.58 kB / 0.7735 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.4467, allocations: 46.53 kB / 0.7735 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.247e-05/0.4467, allocations: 333.9 kB / 0.7738 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.4468, allocations: 69.22 kB / 0.7739 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.447, allocations: 202.1 kB / 0.7741 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.4472, allocations: 200.2 kB / 0.7743 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4472, allocations: 3.375 kB / 0.7743 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003029/0.4475, allocations: 253 kB / 0.7745 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4475, allocations: 6.719 kB / 0.7745 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4475, allocations: 6.188 kB / 0.7745 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4475, allocations: 3.375 kB / 0.7745 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.4477, allocations: 48.31 kB / 0.7746 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4477, allocations: 6.594 kB / 0.7746 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.433e-05/0.4478, allocations: 24.59 kB / 0.7746 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.4478, allocations: 7.891 kB / 0.7746 GB, free: 1.938 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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 8.622e-05/0.4479, allocations: 150.9 kB / 0.7748 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.4479, allocations: 29.09 kB / 0.7748 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.4482, allocations: 223.3 kB / 0.775 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4482, allocations: 2.75 kB / 0.775 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4482, allocations: 4.562 kB / 0.775 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.4482, allocations: 2.812 kB / 0.775 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006158/0.4488, allocations: 0.6234 MB / 0.7756 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4488, allocations: 1.188 kB / 0.7756 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.892e-05/0.4489, allocations: 37.34 kB / 0.7757 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.4489, allocations: 2.281 kB / 0.7757 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4489, allocations: 3.469 kB / 0.7757 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.449, allocations: 6.969 kB / 0.7757 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.449, allocations: 7.188 kB / 0.7757 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.4494, allocations: 445.4 kB / 0.7761 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.4494, allocations: 46.73 kB / 0.7761 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.4495, allocations: 8.422 kB / 0.7762 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.148e-05/0.4496, allocations: 12.25 kB / 0.7762 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.4496, allocations: 17.42 kB / 0.7762 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.4496, allocations: 9.719 kB / 0.7762 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001156/0.4497, allocations: 184.7 kB / 0.7764 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4497, allocations: 0 / 0.7764 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002725/0.45, allocations: 85.69 kB / 0.7764 GB, free: 0.8008 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * 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.0002228/0.4502, allocations: 149.8 kB / 0.7766 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.4505, allocations: 186.8 kB / 0.7768 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4505, allocations: 0 / 0.7768 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.4506, allocations: 87.06 kB / 0.7769 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.451, allocations: 126.8 kB / 0.777 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.4517, allocations: 0.6251 MB / 0.7776 GB, free: 152 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.4519, allocations: 174.2 kB / 0.7778 GB, free: 68 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.4519, allocations: 33.06 kB / 0.7778 GB, free: 52 kB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.4519, allocations: 0 / 0.7778 GB, free: 52 kB / 0.6355 GB Notification: Performance of Templates: time 0.005998/0.4579, allocations: 4.505 MB / 0.7822 GB, free: 15.61 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.58812946267426] Failed to read output from testmodel.py, exit status != 0: 0.4635559394955635 0.47231734299999995 0.02890727499999994 Calling exit ...