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.001366/0.001366, allocations: 119 kB / 19.69 MB, free: 2.199 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.001998/0.001998, allocations: 224.5 kB / 23.01 MB, free: 5.047 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.011/1.011, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.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="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: 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.002224/0.002224, allocations: 70.92 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1902, allocations: 89.17 MB / 0.7284 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.6235/0.8138, allocations: 171 MB / 0.8954 GB, free: 12.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.8168, allocations: 1.58 MB / 0.8969 GB, free: 10.68 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/0.8172, allocations: 15.88 kB / 0.8969 GB, free: 10.67 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005959/0.8178, allocations: 158.8 kB / 0.8971 GB, free: 10.51 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.8201, allocations: 0.7351 MB / 0.8978 GB, free: 9.773 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.8219, allocations: 0.6337 MB / 0.8984 GB, free: 9.141 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.8229, allocations: 0.7332 MB / 0.8992 GB, free: 8.406 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.8233, allocations: 185.4 kB / 0.8993 GB, free: 8.223 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.8244, allocations: 0.5215 MB / 0.8998 GB, free: 7.699 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.8247, allocations: 227.1 kB / 0.9001 GB, free: 7.477 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.8248, allocations: 24 kB / 0.9001 GB, free: 7.453 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.8263, allocations: 0.9352 MB / 0.901 GB, free: 6.516 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.8265, allocations: 111.6 kB / 0.9011 GB, free: 6.406 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.8267, allocations: 175.1 kB / 0.9013 GB, free: 6.234 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.8279, allocations: 0.7339 MB / 0.902 GB, free: 5.504 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.8279, allocations: 0 / 0.902 GB, free: 5.504 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8279, allocations: 0 / 0.902 GB, free: 5.504 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.828, allocations: 0 / 0.902 GB, free: 5.504 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.0009906/0.8289, allocations: 0.6057 MB / 0.9026 GB, free: 4.867 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.829, allocations: 8.031 kB / 0.9026 GB, free: 4.859 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.237e-05/0.829, allocations: 59.23 kB / 0.9026 GB, free: 4.793 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.8301, allocations: 159.6 kB / 0.9028 GB, free: 4.637 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.8306, allocations: 272.4 kB / 0.903 GB, free: 4.344 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.8307, allocations: 16.5 kB / 0.9031 GB, free: 4.328 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.8307, allocations: 24 kB / 0.9031 GB, free: 4.305 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.8312, allocations: 289.5 kB / 0.9034 GB, free: 4 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.8312, allocations: 0 / 0.9034 GB, free: 4 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.8312, allocations: 12 kB / 0.9034 GB, free: 3.988 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.8313, allocations: 4 kB / 0.9034 GB, free: 3.984 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.8317, allocations: 200.9 kB / 0.9036 GB, free: 3.789 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.8331, allocations: 1.192 MB / 0.9047 GB, free: 2.496 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.8334, allocations: 151.6 kB / 0.9049 GB, free: 2.34 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.8336, allocations: 86.19 kB / 0.905 GB, free: 2.254 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004586/0.834, allocations: 71.91 kB / 0.905 GB, free: 2.184 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.8341, allocations: 42.47 kB / 0.9051 GB, free: 2.133 MB / 0.67 GB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.8341, allocations: 0 / 0.9051 GB, free: 2.133 MB / 0.67 GB Notification: Performance of matching and sorting (n=17): time 0.0007695/0.8349, allocations: 289.3 kB / 0.9053 GB, free: 1.844 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.8349, allocations: 55.41 kB / 0.9054 GB, free: 1.777 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.8352, allocations: 324.5 kB / 0.9057 GB, free: 1.457 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.8353, allocations: 29.7 kB / 0.9057 GB, free: 1.422 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.8354, allocations: 188.2 kB / 0.9059 GB, free: 1.234 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.8355, allocations: 59.48 kB / 0.906 GB, free: 1.176 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.8356, allocations: 49.59 kB / 0.906 GB, free: 1.121 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.8357, allocations: 346.7 kB / 0.9064 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.8359, allocations: 67.95 kB / 0.9064 GB, free: 0.707 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.8361, allocations: 132.9 kB / 0.9065 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.8365, allocations: 201.6 kB / 0.9067 GB, free: 352 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.8365, allocations: 0 / 0.9067 GB, free: 352 kB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004791/0.837, allocations: 252.1 kB / 0.907 GB, free: 96 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.837, allocations: 4 kB / 0.907 GB, free: 92 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.837, allocations: 4.625 kB / 0.907 GB, free: 88 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.837, allocations: 0 / 0.907 GB, free: 88 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.8372, allocations: 43.97 kB / 0.907 GB, free: 44 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.8372, allocations: 12.03 kB / 0.907 GB, free: 32 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.8374, allocations: 32.64 kB / 0.9071 GB, free: 0 / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.8375, allocations: 8.047 kB / 0.9071 GB, free: 15.99 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.0001544/0.8376, allocations: 155.7 kB / 0.9072 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.8377, allocations: 31.81 kB / 0.9073 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004839/0.8382, allocations: 234.5 kB / 0.9075 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.8382, allocations: 8 kB / 0.9075 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.8382, allocations: 0 / 0.9075 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8382, allocations: 0 / 0.9075 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.8393, allocations: 0.6825 MB / 0.9082 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.8393, allocations: 0 / 0.9082 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.8394, allocations: 31.98 kB / 0.9082 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.8395, allocations: 7.938 kB / 0.9082 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.8395, allocations: 8 kB / 0.9082 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.8395, allocations: 8.016 kB / 0.9082 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8395, allocations: 7.938 kB / 0.9082 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.8402, allocations: 455 kB / 0.9086 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.8403, allocations: 47.91 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.8403, allocations: 15.92 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.8405, allocations: 7.984 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.8406, allocations: 19.97 kB / 0.9087 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.8406, allocations: 4 kB / 0.9087 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002375/0.8408, allocations: 235.1 kB / 0.909 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8408, allocations: 3.938 kB / 0.909 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003844/0.8412, allocations: 79.94 kB / 0.909 GB, free: 13.86 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.001133/0.8423, allocations: 1.026 MB / 0.91 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00043/0.8428, allocations: 179.8 kB / 0.9102 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8428, allocations: 0 / 0.9102 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.843, allocations: 91.81 kB / 0.9103 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/0.8438, allocations: 169.4 kB / 0.9105 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/0.8479, allocations: 3.008 MB / 0.9134 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.8483, allocations: 0.7871 MB / 0.9142 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002221/0.8485, allocations: 62.92 kB / 0.9142 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.8487, allocations: 91.41 kB / 0.9143 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of SimCode: time 6.91e-07/0.8487, allocations: 0 / 0.9143 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04407/0.8927, allocations: 9.264 MB / 0.9234 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/12.01, allocations: 0 / 0.9234 GB, free: 15.23 MB / 0.7012 GB " [Timeout remaining time 648] (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: 15.79973754286766] Failed to read output from testmodel.py, exit status != 0: 12.136161278001964 12.162808486 11.330156939 Calling exit ...