Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001551/0.001551, allocations: 114.6 kB / 17.13 MB, free: 5.914 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.001719/0.001719, allocations: 195.7 kB / 20.08 MB, free: 2.977 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.436/1.436, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8236/0.8236, allocations: 129.2 MB / 432.5 MB, free: 13.11 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.89 kB / 0.5987 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4144, allocations: 83.43 MB / 0.6802 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.1953/0.6097, allocations: 168 MB / 0.8442 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00302/0.6127, allocations: 1.558 MB / 0.8457 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/0.6131, allocations: 11.94 kB / 0.8458 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.6136, allocations: 158.8 kB / 0.8459 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.6155, allocations: 0.7351 MB / 0.8466 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.6171, allocations: 0.6114 MB / 0.8472 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009322/0.618, allocations: 0.7099 MB / 0.8479 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003759/0.6184, allocations: 199.9 kB / 0.8481 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.6194, allocations: 0.4982 MB / 0.8486 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.6197, allocations: 235 kB / 0.8488 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.6197, allocations: 20 kB / 0.8488 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.6213, allocations: 0.9235 MB / 0.8497 GB, free: 15.75 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.6215, allocations: 115.6 kB / 0.8498 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.6217, allocations: 171.2 kB / 0.85 GB, free: 15.47 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.6228, allocations: 0.7318 MB / 0.8507 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6228, allocations: 0 / 0.8507 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6228, allocations: 0 / 0.8507 GB, free: 14.74 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.6228, allocations: 0 / 0.8507 GB, free: 14.74 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.001035/0.6239, allocations: 0.6772 MB / 0.8514 GB, free: 14.02 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6239, allocations: 8.031 kB / 0.8514 GB, free: 14.01 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.701e-05/0.624, allocations: 54.55 kB / 0.8514 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.6251, allocations: 159.6 kB / 0.8516 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.6256, allocations: 338.8 kB / 0.8519 GB, free: 13.42 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.6257, allocations: 16.56 kB / 0.8519 GB, free: 13.4 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.6257, allocations: 20 kB / 0.852 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.6262, allocations: 281.8 kB / 0.8522 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6262, allocations: 0 / 0.8522 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.6262, allocations: 16 kB / 0.8522 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.6263, allocations: 7.984 kB / 0.8522 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.6267, allocations: 204.9 kB / 0.8524 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.6282, allocations: 1.227 MB / 0.8536 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.6285, allocations: 138.5 kB / 0.8538 GB, free: 11.39 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.6287, allocations: 98.67 kB / 0.8539 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/0.6293, allocations: 299.2 kB / 0.8542 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.6293, allocations: 34.56 kB / 0.8542 GB, free: 10.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=17): time 1.502e-06/0.6293, allocations: 7.938 kB / 0.8542 GB, free: 10.89 MB / 0.67 GB Notification: Performance of matching and sorting (n=17): time 0.0007933/0.6301, allocations: 289.6 kB / 0.8545 GB, free: 10.61 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.6302, allocations: 59.41 kB / 0.8545 GB, free: 10.54 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.6305, allocations: 320.5 kB / 0.8548 GB, free: 10.21 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.6306, allocations: 29.7 kB / 0.8549 GB, free: 10.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.6307, allocations: 184.3 kB / 0.855 GB, free: 9.992 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.6308, allocations: 67.45 kB / 0.8551 GB, free: 9.926 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.071e-05/0.6309, allocations: 53.66 kB / 0.8552 GB, free: 9.867 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.631, allocations: 342.8 kB / 0.8555 GB, free: 9.523 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.6312, allocations: 63.95 kB / 0.8555 GB, free: 9.461 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.6314, allocations: 140.3 kB / 0.8557 GB, free: 9.309 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.6318, allocations: 187.7 kB / 0.8559 GB, free: 9.109 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6318, allocations: 0 / 0.8559 GB, free: 9.109 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004877/0.6323, allocations: 257.3 kB / 0.8561 GB, free: 8.852 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6323, allocations: 11.98 kB / 0.8561 GB, free: 8.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.6323, allocations: 0 / 0.8561 GB, free: 8.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.6323, allocations: 4 kB / 0.8561 GB, free: 8.836 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.6325, allocations: 43.92 kB / 0.8562 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.6325, allocations: 0 / 0.8562 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.6327, allocations: 43.8 kB / 0.8562 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.6328, allocations: 12 kB / 0.8562 GB, free: 8.738 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.000152/0.6329, allocations: 153.7 kB / 0.8564 GB, free: 8.578 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/0.633, allocations: 35.75 kB / 0.8564 GB, free: 8.543 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004836/0.6334, allocations: 230.7 kB / 0.8566 GB, free: 8.312 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.6334, allocations: 0 / 0.8566 GB, free: 8.312 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6335, allocations: 0 / 0.8566 GB, free: 8.312 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.6335, allocations: 4 kB / 0.8566 GB, free: 8.309 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.6346, allocations: 0.7069 MB / 0.8573 GB, free: 7.523 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.6346, allocations: 4 kB / 0.8573 GB, free: 7.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.6348, allocations: 39.84 kB / 0.8573 GB, free: 7.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.6348, allocations: 8 kB / 0.8574 GB, free: 7.473 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.6348, allocations: 8 kB / 0.8574 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6348, allocations: 4 kB / 0.8574 GB, free: 7.461 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6348, allocations: 0 / 0.8574 GB, free: 7.461 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006897/0.6355, allocations: 455.5 kB / 0.8578 GB, free: 6.98 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.6356, allocations: 136.8 kB / 0.8579 GB, free: 6.828 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.6357, allocations: 8 kB / 0.8579 GB, free: 6.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.6358, allocations: 11.98 kB / 0.8579 GB, free: 6.809 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.6359, allocations: 15.92 kB / 0.858 GB, free: 6.793 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.6359, allocations: 4 kB / 0.858 GB, free: 6.789 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002496/0.6362, allocations: 235 kB / 0.8582 GB, free: 6.562 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.6362, allocations: 0 / 0.8582 GB, free: 6.562 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003828/0.6365, allocations: 80 kB / 0.8583 GB, free: 6.484 MB / 0.67 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.001303/0.6378, allocations: 1.047 MB / 0.8593 GB, free: 5.395 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000445/0.6383, allocations: 183.8 kB / 0.8595 GB, free: 5.215 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6383, allocations: 0 / 0.8595 GB, free: 5.215 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.6385, allocations: 83.83 kB / 0.8595 GB, free: 5.133 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008435/0.6393, allocations: 170.1 kB / 0.8597 GB, free: 4.969 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.6432, allocations: 3.018 MB / 0.8627 GB, free: 1.805 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.6436, allocations: 0.7834 MB / 0.8634 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002315/0.6439, allocations: 58.92 kB / 0.8635 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.644, allocations: 91.41 kB / 0.8636 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/0.644, allocations: 0 / 0.8636 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3673/1.011, allocations: 9.082 MB / 0.8724 GB, free: 175.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.353/9.364, allocations: 1.062 kB / 0.8724 GB, free: 175.6 MB / 0.67 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.68003433290869] Failed to read output from testmodel.py, exit status != 0: 9.440350956749171 9.460500651 8.833976014 Calling exit ...