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.00119/0.00119, allocations: 109 kB / 17.54 MB, free: 4.746 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.001225/0.001225, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.284/1.284, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] 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/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 0.9747/0.9747, allocations: 175.7 MB / 480.1 MB, free: 2.781 MB / 366.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 73.42 kB / 0.6678 GB, free: 11.1 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1529, allocations: 94.52 MB / 0.7601 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.4876/0.6405, allocations: 168.1 MB / 0.9243 GB, free: 9.688 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.6431, allocations: 1.566 MB / 0.9258 GB, free: 8.414 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.6432, allocations: 11.06 kB / 0.9258 GB, free: 8.41 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.6437, allocations: 153.3 kB / 0.926 GB, free: 8.277 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.6451, allocations: 0.7412 MB / 0.9267 GB, free: 7.719 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.6464, allocations: 0.6115 MB / 0.9273 GB, free: 7.27 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0006765/0.647, allocations: 0.716 MB / 0.928 GB, free: 6.855 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.6473, allocations: 193.5 kB / 0.9282 GB, free: 6.727 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000866/0.6482, allocations: 0.4969 MB / 0.9287 GB, free: 6.426 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.6485, allocations: 235 kB / 0.9289 GB, free: 6.285 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.6485, allocations: 22.72 kB / 0.9289 GB, free: 6.285 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.6498, allocations: 0.9147 MB / 0.9298 GB, free: 5.758 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.6499, allocations: 116.4 kB / 0.9299 GB, free: 5.676 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.6501, allocations: 176.4 kB / 0.9301 GB, free: 5.566 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0008802/0.6509, allocations: 0.733 MB / 0.9308 GB, free: 5.133 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.6509, allocations: 3.938 kB / 0.9308 GB, free: 5.129 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6509, allocations: 0 / 0.9308 GB, free: 5.129 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.6509, allocations: 0 / 0.9308 GB, free: 5.129 MB / 0.67 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.000897/0.6518, allocations: 0.68 MB / 0.9315 GB, free: 4.523 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.6519, allocations: 10.16 kB / 0.9315 GB, free: 4.523 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.6519, allocations: 54.8 kB / 0.9315 GB, free: 4.469 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.653, allocations: 156.8 kB / 0.9317 GB, free: 4.395 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.6534, allocations: 329.4 kB / 0.932 GB, free: 4.09 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.6535, allocations: 16.53 kB / 0.932 GB, free: 4.082 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.6535, allocations: 29.34 kB / 0.932 GB, free: 4.07 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.6539, allocations: 282 kB / 0.9323 GB, free: 3.875 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.6539, allocations: 2.5 kB / 0.9323 GB, free: 3.875 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.654, allocations: 9.875 kB / 0.9323 GB, free: 3.867 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.654, allocations: 9.719 kB / 0.9323 GB, free: 3.867 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.6544, allocations: 205.6 kB / 0.9325 GB, free: 3.773 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.6557, allocations: 1.23 MB / 0.9337 GB, free: 2.637 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.6559, allocations: 136.2 kB / 0.9339 GB, free: 2.559 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.6561, allocations: 90.52 kB / 0.9339 GB, free: 2.512 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005435/0.6567, allocations: 298.9 kB / 0.9342 GB, free: 2.207 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.6567, allocations: 40.64 kB / 0.9343 GB, free: 2.16 MB / 0.67 GB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.6567, allocations: 0 / 0.9343 GB, free: 2.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=17): time 0.0007112/0.6574, allocations: 302.8 kB / 0.9346 GB, free: 2.004 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.6574, allocations: 54.19 kB / 0.9346 GB, free: 1.941 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.6577, allocations: 319.5 kB / 0.9349 GB, free: 1.742 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.6578, allocations: 36.2 kB / 0.9349 GB, free: 1.703 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.6579, allocations: 183.5 kB / 0.9351 GB, free: 1.535 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.6579, allocations: 67.02 kB / 0.9352 GB, free: 1.477 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.658, allocations: 46.98 kB / 0.9352 GB, free: 1.441 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6582, allocations: 346.7 kB / 0.9356 GB, free: 1.102 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.6583, allocations: 67.7 kB / 0.9356 GB, free: 1.07 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.6585, allocations: 125.5 kB / 0.9357 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.6589, allocations: 210.6 kB / 0.9359 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6589, allocations: 0 / 0.9359 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000446/0.6593, allocations: 252.8 kB / 0.9362 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.6593, allocations: 5.375 kB / 0.9362 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6593, allocations: 2.719 kB / 0.9362 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.6593, allocations: 0 / 0.9362 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.6595, allocations: 47.31 kB / 0.9362 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.6595, allocations: 2.125 kB / 0.9362 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.6597, allocations: 34.3 kB / 0.9363 GB, free: 0.668 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.6597, allocations: 7.719 kB / 0.9363 GB, free: 0.668 MB / 0.67 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.0001435/0.6599, allocations: 161.8 kB / 0.9364 GB, free: 0.5195 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.6599, allocations: 35 kB / 0.9365 GB, free: 0.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004401/0.6604, allocations: 225.9 kB / 0.9367 GB, free: 376 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.6604, allocations: 3.281 kB / 0.9367 GB, free: 376 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6604, allocations: 3.984 kB / 0.9367 GB, free: 372 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6604, allocations: 0 / 0.9367 GB, free: 372 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009811/0.6614, allocations: 0.7063 MB / 0.9374 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6614, allocations: 0 / 0.9374 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.6615, allocations: 40.33 kB / 0.9374 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.6615, allocations: 5.719 kB / 0.9374 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.6615, allocations: 9.812 kB / 0.9374 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6615, allocations: 3.984 kB / 0.9374 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6616, allocations: 2.375 kB / 0.9374 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006219/0.6622, allocations: 452.7 kB / 0.9379 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.6623, allocations: 124.3 kB / 0.938 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.6623, allocations: 10.44 kB / 0.938 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.6625, allocations: 13.23 kB / 0.938 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.6625, allocations: 19.42 kB / 0.938 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.6625, allocations: 8.594 kB / 0.938 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002053/0.6628, allocations: 230.3 kB / 0.9383 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.6628, allocations: 0 / 0.9383 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003388/0.6631, allocations: 88.5 kB / 0.9383 GB, free: 15.09 MB / 0.6856 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.001129/0.6642, allocations: 1.045 MB / 0.9394 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.6646, allocations: 175.1 kB / 0.9395 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6646, allocations: 0 / 0.9395 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.6648, allocations: 93.94 kB / 0.9396 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007895/0.6656, allocations: 167.7 kB / 0.9398 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.6689, allocations: 3.018 MB / 0.9427 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.6693, allocations: 0.7812 MB / 0.9435 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001655/0.6695, allocations: 63.95 kB / 0.9436 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.6696, allocations: 93.25 kB / 0.9436 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of SimCode: time 3.21e-07/0.6696, allocations: 0 / 0.9436 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.7032, allocations: 9.083 MB / 0.9525 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/8.336, allocations: 8.375 kB / 0.9525 GB, free: 4.531 MB / 0.6856 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.69331128700287]