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.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.001282/0.001282, allocations: 118.8 kB / 17.84 MB, free: 5.234 MB / 14.72 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.001355/0.001355, allocations: 202.3 kB / 20.79 MB, free: 2.297 MB / 14.72 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 1.49/1.49, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.009/1.009, allocations: 150 MB / 460.2 MB, free: 5.262 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 74.92 kB / 0.6368 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1796, allocations: 89.13 MB / 0.7239 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.6054/0.7849, allocations: 170.8 MB / 0.8907 GB, free: 2.875 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.7878, allocations: 1.567 MB / 0.8922 GB, free: 2.824 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000519/0.7883, allocations: 16.91 kB / 0.8922 GB, free: 2.824 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.7889, allocations: 155.5 kB / 0.8924 GB, free: 2.82 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002158/0.7911, allocations: 0.7329 MB / 0.8931 GB, free: 2.793 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.7929, allocations: 0.6097 MB / 0.8937 GB, free: 2.77 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.7941, allocations: 0.7118 MB / 0.8944 GB, free: 2.766 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004367/0.7946, allocations: 200.7 kB / 0.8946 GB, free: 2.758 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.796, allocations: 0.5119 MB / 0.8951 GB, free: 2.746 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.7964, allocations: 236.8 kB / 0.8953 GB, free: 2.746 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.7965, allocations: 23.47 kB / 0.8953 GB, free: 2.746 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.7984, allocations: 0.9162 MB / 0.8962 GB, free: 2.734 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.7986, allocations: 108.8 kB / 0.8963 GB, free: 2.734 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.7988, allocations: 171.7 kB / 0.8965 GB, free: 2.734 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.8002, allocations: 0.7375 MB / 0.8972 GB, free: 2.691 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8002, allocations: 5.203 kB / 0.8972 GB, free: 2.688 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8002, allocations: 1.5 kB / 0.8972 GB, free: 2.688 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.8002, allocations: 0 / 0.8972 GB, free: 2.688 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.001208/0.8014, allocations: 0.6752 MB / 0.8979 GB, free: 18.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.8014, allocations: 9.906 kB / 0.8979 GB, free: 18.18 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.973e-05/0.8014, allocations: 6.562 kB / 0.8979 GB, free: 18.18 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.47e-05/0.8015, allocations: 57.55 kB / 0.898 GB, free: 18.14 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.8027, allocations: 159.2 kB / 0.8981 GB, free: 18.12 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.8032, allocations: 332.1 kB / 0.8984 GB, free: 17.89 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.8033, allocations: 21.25 kB / 0.8984 GB, free: 17.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.8033, allocations: 23.09 kB / 0.8985 GB, free: 17.88 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.8038, allocations: 282.9 kB / 0.8987 GB, free: 17.81 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.8038, allocations: 0 / 0.8987 GB, free: 17.81 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.8038, allocations: 9.531 kB / 0.8987 GB, free: 17.81 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.8038, allocations: 6.656 kB / 0.8988 GB, free: 17.81 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.8042, allocations: 208.3 kB / 0.899 GB, free: 17.8 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.8056, allocations: 1.234 MB / 0.9002 GB, free: 16.96 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.8059, allocations: 132.4 kB / 0.9003 GB, free: 16.94 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.8061, allocations: 93.69 kB / 0.9004 GB, free: 16.93 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006212/0.8067, allocations: 302.3 kB / 0.9007 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.8067, allocations: 41.25 kB / 0.9007 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=17): time 1.422e-06/0.8067, allocations: 1.156 kB / 0.9007 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17): time 0.0008214/0.8076, allocations: 293.6 kB / 0.901 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.8076, allocations: 53.19 kB / 0.901 GB, free: 16.49 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.8079, allocations: 319.9 kB / 0.9013 GB, free: 16.39 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.808, allocations: 31.33 kB / 0.9014 GB, free: 16.36 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.8081, allocations: 184 kB / 0.9015 GB, free: 16.25 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.8081, allocations: 64.06 kB / 0.9016 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.8082, allocations: 52.22 kB / 0.9017 GB, free: 16.18 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.8084, allocations: 346.7 kB / 0.902 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.8085, allocations: 66.31 kB / 0.902 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.8087, allocations: 128.2 kB / 0.9022 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.8091, allocations: 200.5 kB / 0.9024 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.8091, allocations: 1.375 kB / 0.9024 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004624/0.8095, allocations: 250.9 kB / 0.9026 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.8095, allocations: 7.578 kB / 0.9026 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8095, allocations: 1.344 kB / 0.9026 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.8096, allocations: 2.562 kB / 0.9026 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.8098, allocations: 53.75 kB / 0.9027 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.8098, allocations: 2.781 kB / 0.9027 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.81, allocations: 35.14 kB / 0.9027 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.81, allocations: 8.906 kB / 0.9027 GB, free: 15.69 MB / 0.6856 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.0001564/0.8102, allocations: 157.7 kB / 0.9029 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.8102, allocations: 37.61 kB / 0.9029 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/0.8107, allocations: 231.2 kB / 0.9031 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8107, allocations: 2.156 kB / 0.9031 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8107, allocations: 1.203 kB / 0.9031 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.8107, allocations: 4.562 kB / 0.9031 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009998/0.8117, allocations: 0.7068 MB / 0.9038 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8117, allocations: 5.5 kB / 0.9038 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.8119, allocations: 39.11 kB / 0.9039 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.8119, allocations: 6.688 kB / 0.9039 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.8119, allocations: 2.75 kB / 0.9039 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.8119, allocations: 2.75 kB / 0.9039 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.8119, allocations: 2.75 kB / 0.9039 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.8125, allocations: 453.7 kB / 0.9043 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.8127, allocations: 127.6 kB / 0.9044 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.8127, allocations: 10.44 kB / 0.9044 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.8129, allocations: 10.73 kB / 0.9044 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.8129, allocations: 16.92 kB / 0.9045 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.8129, allocations: 5.781 kB / 0.9045 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002098/0.8132, allocations: 233.5 kB / 0.9047 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8132, allocations: 0 / 0.9047 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00041/0.8136, allocations: 88.08 kB / 0.9048 GB, free: 14.71 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.001157/0.8147, allocations: 1.034 MB / 0.9058 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.8151, allocations: 177.6 kB / 0.906 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8151, allocations: 2.656 kB / 0.906 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.8153, allocations: 82.56 kB / 0.906 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008559/0.8162, allocations: 172.3 kB / 0.9062 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.8197, allocations: 3.026 MB / 0.9092 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.8201, allocations: 0.7833 MB / 0.9099 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002262/0.8203, allocations: 62.89 kB / 0.91 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.8205, allocations: 94.3 kB / 0.9101 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of SimCode: time 5.01e-07/0.8205, allocations: 0 / 0.9101 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.8469, allocations: 9.059 MB / 0.9189 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.594/9.441, allocations: 6.938 kB / 0.9189 GB, free: 10.7 MB / 0.6856 GB " [Timeout remaining time 650] (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: 13.378881724027451] Failed to read output from testmodel.py, exit status != 0: 9.57017125596758 9.589002326 8.785061397 Calling exit ...