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.001283/0.001283, allocations: 106 kB / 16.45 MB, free: 6.445 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.001323/0.001323, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.39/1.39, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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/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.063/1.063, allocations: 175.7 MB / 478.4 MB, free: 3.445 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.001928/0.001928, allocations: 73.17 kB / 0.6652 GB, free: 11.16 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1897, allocations: 94.54 MB / 0.7575 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.6408/0.8305, allocations: 168 MB / 0.9216 GB, free: 10.49 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002882/0.8334, allocations: 1.561 MB / 0.9231 GB, free: 9.223 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.8336, allocations: 15.94 kB / 0.9231 GB, free: 9.215 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.8341, allocations: 147.8 kB / 0.9232 GB, free: 9.086 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.8358, allocations: 0.734 MB / 0.924 GB, free: 8.535 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.8374, allocations: 0.6128 MB / 0.9246 GB, free: 8.086 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007882/0.8381, allocations: 0.7196 MB / 0.9253 GB, free: 7.668 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.8385, allocations: 197.4 kB / 0.9255 GB, free: 7.543 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009573/0.8394, allocations: 0.5091 MB / 0.926 GB, free: 7.23 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.8397, allocations: 230.1 kB / 0.9262 GB, free: 7.094 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.8397, allocations: 22.62 kB / 0.9262 GB, free: 7.094 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.841, allocations: 0.9159 MB / 0.9271 GB, free: 6.562 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.8412, allocations: 111 kB / 0.9272 GB, free: 6.488 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.8413, allocations: 177.8 kB / 0.9274 GB, free: 6.379 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0009485/0.8423, allocations: 0.7283 MB / 0.9281 GB, free: 5.949 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.8423, allocations: 0 / 0.9281 GB, free: 5.949 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8423, allocations: 0 / 0.9281 GB, free: 5.949 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.8423, allocations: 0 / 0.9281 GB, free: 5.949 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.0009961/0.8433, allocations: 0.6804 MB / 0.9287 GB, free: 5.344 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8433, allocations: 9.656 kB / 0.9287 GB, free: 5.344 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.074e-05/0.8434, allocations: 62.19 kB / 0.9288 GB, free: 5.281 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.8445, allocations: 150.6 kB / 0.929 GB, free: 5.211 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005629/0.8451, allocations: 333.2 kB / 0.9293 GB, free: 4.898 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.8451, allocations: 18.78 kB / 0.9293 GB, free: 4.891 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.8451, allocations: 23.38 kB / 0.9293 GB, free: 4.883 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.8456, allocations: 288.2 kB / 0.9296 GB, free: 4.688 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.8456, allocations: 0 / 0.9296 GB, free: 4.688 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.8456, allocations: 6.625 kB / 0.9296 GB, free: 4.684 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.8456, allocations: 7.625 kB / 0.9296 GB, free: 4.684 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.846, allocations: 202.3 kB / 0.9298 GB, free: 4.594 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.8474, allocations: 1.229 MB / 0.931 GB, free: 3.457 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.8477, allocations: 144.7 kB / 0.9311 GB, free: 3.371 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.8479, allocations: 89.16 kB / 0.9312 GB, free: 3.328 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000584/0.8485, allocations: 309.4 kB / 0.9315 GB, free: 3.012 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.8485, allocations: 30.56 kB / 0.9315 GB, free: 2.973 MB / 0.67 GB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.8485, allocations: 7.094 kB / 0.9315 GB, free: 2.969 MB / 0.67 GB Notification: Performance of matching and sorting (n=17): time 0.0007349/0.8492, allocations: 290.3 kB / 0.9318 GB, free: 2.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.8493, allocations: 57.91 kB / 0.9319 GB, free: 2.754 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.8496, allocations: 319.9 kB / 0.9322 GB, free: 2.555 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.8496, allocations: 28.33 kB / 0.9322 GB, free: 2.523 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.8498, allocations: 194 kB / 0.9324 GB, free: 2.348 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.8498, allocations: 60.31 kB / 0.9325 GB, free: 2.293 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.793e-05/0.8499, allocations: 47.5 kB / 0.9325 GB, free: 2.258 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.8501, allocations: 342.6 kB / 0.9328 GB, free: 1.922 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.8502, allocations: 73.48 kB / 0.9329 GB, free: 1.887 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.8504, allocations: 131.8 kB / 0.933 GB, free: 1.789 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.8508, allocations: 198.2 kB / 0.9332 GB, free: 1.66 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8508, allocations: 0 / 0.9332 GB, free: 1.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004409/0.8512, allocations: 254.8 kB / 0.9335 GB, free: 1.523 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.8512, allocations: 4.812 kB / 0.9335 GB, free: 1.523 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.8512, allocations: 3.594 kB / 0.9335 GB, free: 1.523 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8512, allocations: 2.125 kB / 0.9335 GB, free: 1.523 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.8514, allocations: 55.97 kB / 0.9335 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.8515, allocations: 2.781 kB / 0.9335 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.8517, allocations: 33.14 kB / 0.9335 GB, free: 1.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.8517, allocations: 7.969 kB / 0.9336 GB, free: 1.48 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.0001507/0.8518, allocations: 151.7 kB / 0.9337 GB, free: 1.34 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.8519, allocations: 34.92 kB / 0.9337 GB, free: 1.32 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.8524, allocations: 232.8 kB / 0.934 GB, free: 1.184 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8524, allocations: 2.438 kB / 0.934 GB, free: 1.184 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.8524, allocations: 0 / 0.934 GB, free: 1.184 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8524, allocations: 0 / 0.934 GB, free: 1.184 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.8534, allocations: 0.706 MB / 0.9346 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.8534, allocations: 3.125 kB / 0.9347 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.8536, allocations: 41.06 kB / 0.9347 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.8536, allocations: 6.719 kB / 0.9347 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.8536, allocations: 4.688 kB / 0.9347 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8536, allocations: 2.938 kB / 0.9347 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8536, allocations: 6.688 kB / 0.9347 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006448/0.8543, allocations: 452.1 kB / 0.9351 GB, free: 236 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.8544, allocations: 128 kB / 0.9353 GB, free: 104 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.8544, allocations: 8.688 kB / 0.9353 GB, free: 100 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.8546, allocations: 9.312 kB / 0.9353 GB, free: 96 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.8547, allocations: 23.28 kB / 0.9353 GB, free: 80 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.8547, allocations: 12.94 kB / 0.9353 GB, free: 72 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002355/0.8549, allocations: 229.7 kB / 0.9355 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8549, allocations: 0 / 0.9355 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003769/0.8553, allocations: 81.25 kB / 0.9356 GB, free: 15.91 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.001258/0.8565, allocations: 1.05 MB / 0.9366 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004107/0.857, allocations: 172.5 kB / 0.9368 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.857, allocations: 0 / 0.9368 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.8571, allocations: 98.22 kB / 0.9369 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008221/0.858, allocations: 156.4 kB / 0.937 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.8616, allocations: 3.016 MB / 0.94 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.862, allocations: 0.7811 MB / 0.9408 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.8622, allocations: 67.22 kB / 0.9408 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.8624, allocations: 93.19 kB / 0.9409 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of SimCode: time 4.5e-07/0.8624, allocations: 0 / 0.9409 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.8985, allocations: 9.076 MB / 0.9498 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/9.163, allocations: 11.25 kB / 0.9498 GB, free: 5.434 MB / 0.6856 GB " [Timeout remaining time 651] (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 --stepSize=0.024 --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: 12.936381459236145] Failed to read output from testmodel.py, exit status != 0: 9.235666760709137 9.259059301 8.412512013 Calling exit ...