Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002385/0.002385, allocations: 189 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.19/1.19, allocations: 177.9 MB / 484.2 MB, free: 5.387 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.77 kB / 0.674 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7987/0.8008, allocations: 95.17 MB / 0.7669 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.2434/1.044, allocations: 168.2 MB / 0.9311 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003498/1.048, allocations: 1.58 MB / 0.9327 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003739/1.048, allocations: 15.88 kB / 0.9327 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006371/1.049, allocations: 146.8 kB / 0.9328 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00225/1.051, allocations: 0.7546 MB / 0.9336 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/1.053, allocations: 0.646 MB / 0.9342 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001015/1.054, allocations: 0.7255 MB / 0.9349 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/1.054, allocations: 196.2 kB / 0.9351 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/1.055, allocations: 0.5138 MB / 0.9356 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/1.056, allocations: 239 kB / 0.9358 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.933e-05/1.056, allocations: 27.94 kB / 0.9359 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/1.058, allocations: 0.9313 MB / 0.9368 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/1.058, allocations: 111.6 kB / 0.9369 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002183/1.058, allocations: 171.2 kB / 0.937 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/1.06, allocations: 0.7356 MB / 0.9378 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.06, allocations: 4 kB / 0.9378 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/1.06, allocations: 0 / 0.9378 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.472e-05/1.06, allocations: 0 / 0.9378 GB, free: 3.629 MB / 0.7169 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.001166/1.061, allocations: 0.5979 MB / 0.9383 GB, free: 3 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.061, allocations: 8.031 kB / 0.9384 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/1.062, allocations: 159.6 kB / 0.9385 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006111/1.063, allocations: 272.4 kB / 0.9388 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/1.063, allocations: 16.5 kB / 0.9388 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/1.063, allocations: 24 kB / 0.9388 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/1.063, allocations: 285.1 kB / 0.9391 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/1.063, allocations: 3.938 kB / 0.9391 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/1.063, allocations: 8 kB / 0.9391 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/1.063, allocations: 8 kB / 0.9391 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/1.064, allocations: 196.9 kB / 0.9393 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/1.065, allocations: 1.196 MB / 0.9405 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/1.066, allocations: 148.8 kB / 0.9406 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/1.066, allocations: 89.11 kB / 0.9407 GB, free: 468 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/1.067, allocations: 79.81 kB / 0.9408 GB, free: 388 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.067, allocations: 38.55 kB / 0.9408 GB, free: 340 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.724e-06/1.067, allocations: 0 / 0.9408 GB, free: 340 kB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0009855/1.068, allocations: 289.4 kB / 0.9411 GB, free: 44 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/1.068, allocations: 51.41 kB / 0.9411 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/1.068, allocations: 324.5 kB / 0.9414 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/1.068, allocations: 33.7 kB / 0.9415 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/1.068, allocations: 180.3 kB / 0.9416 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/1.068, allocations: 59.48 kB / 0.9417 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.669e-05/1.068, allocations: 49.59 kB / 0.9417 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001987/1.069, allocations: 346.7 kB / 0.9421 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/1.069, allocations: 75.81 kB / 0.9421 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/1.069, allocations: 128.5 kB / 0.9423 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/1.069, allocations: 201 kB / 0.9425 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.069, allocations: 0 / 0.9425 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000512/1.07, allocations: 251.7 kB / 0.9427 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.07, allocations: 4 kB / 0.9427 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/1.07, allocations: 8.094 kB / 0.9427 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/1.07, allocations: 0 / 0.9427 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/1.07, allocations: 47.91 kB / 0.9428 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.07, allocations: 7.938 kB / 0.9428 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/1.07, allocations: 31.77 kB / 0.9428 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/1.07, allocations: 11.94 kB / 0.9428 GB, free: 14.19 MB / 0.7325 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 0.0001898/1.071, allocations: 157.7 kB / 0.943 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/1.071, allocations: 27.81 kB / 0.943 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/1.071, allocations: 234.6 kB / 0.9432 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/1.071, allocations: 4 kB / 0.9432 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.071, allocations: 3.984 kB / 0.9432 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.071, allocations: 0 / 0.9432 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/1.073, allocations: 0.6826 MB / 0.9439 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.073, allocations: 0 / 0.9439 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/1.073, allocations: 35.92 kB / 0.9439 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/1.073, allocations: 7.938 kB / 0.9439 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/1.073, allocations: 12.22 kB / 0.9439 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/1.073, allocations: 0 / 0.9439 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.073, allocations: 7.938 kB / 0.9439 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/1.074, allocations: 449.1 kB / 0.9444 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/1.074, allocations: 55.66 kB / 0.9444 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/1.074, allocations: 8 kB / 0.9444 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/1.074, allocations: 7.984 kB / 0.9444 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/1.074, allocations: 23.98 kB / 0.9445 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/1.074, allocations: 4 kB / 0.9445 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002653/1.074, allocations: 235 kB / 0.9447 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/1.074, allocations: 0 / 0.9447 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00042/1.075, allocations: 79.92 kB / 0.9448 GB, free: 12.06 MB / 0.7325 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.0004683/1.075, allocations: 170.7 kB / 0.9449 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005093/1.076, allocations: 171.8 kB / 0.9451 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.076, allocations: 0 / 0.9451 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/1.076, allocations: 92.38 kB / 0.9452 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/1.077, allocations: 170.1 kB / 0.9453 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/1.078, allocations: 0.6462 MB / 0.946 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/1.078, allocations: 0.7832 MB / 0.9467 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000196/1.079, allocations: 66.86 kB / 0.9468 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/1.079, allocations: 27.42 kB / 0.9468 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/1.079, allocations: 0 / 0.9468 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of Templates: time 0.01318/1.092, allocations: 5.99 MB / 0.9527 GB, free: 3.977 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.3982944414019585] Failed to read output from testmodel.py, exit status != 0: 1.10179066285491 1.11759593 0.054759908 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3f0a9417b0>