Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.001326/0.001326, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001439/0.001439, allocations: 215.4 kB / 23.78 MB, free: 4.523 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.023/1.023, allocations: 150 MB / 464 MB, free: 10.21 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.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",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.001964/0.001964, allocations: 66.16 kB / 0.642 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2189, allocations: 89.18 MB / 0.729 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003195/0.2221, allocations: 1.061 MB / 0.7301 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00279/0.2249, allocations: 1.537 MB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.2251, allocations: 7.938 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.2253, allocations: 31.59 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.2256, allocations: 63.5 kB / 0.7317 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.227, allocations: 492.1 kB / 0.7322 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009384/0.228, allocations: 0.5894 MB / 0.7327 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.2283, allocations: 104.9 kB / 0.7328 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.2288, allocations: 239.4 kB / 0.7331 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004861/0.2292, allocations: 218.5 kB / 0.7333 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.2294, allocations: 63.94 kB / 0.7333 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.2296, allocations: 67.98 kB / 0.7334 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.2298, allocations: 75.77 kB / 0.7335 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003311/0.2301, allocations: 195.3 kB / 0.7336 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008609/0.231, allocations: 0.6307 MB / 0.7343 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.231, allocations: 0 / 0.7343 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.231, allocations: 0 / 0.7343 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.231, allocations: 4 kB / 0.7343 GB, free: 11.48 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001381/0.2324, allocations: 0.6756 MB / 0.7349 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.2324, allocations: 8.031 kB / 0.7349 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.801e-05/0.2324, allocations: 8.625 kB / 0.7349 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.986e-05/0.2325, allocations: 62.72 kB / 0.735 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.2327, allocations: 44.7 kB / 0.735 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.2338, allocations: 341.8 kB / 0.7354 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.2339, allocations: 28.8 kB / 0.7354 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-05/0.234, allocations: 32.38 kB / 0.7354 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005631/0.2345, allocations: 383.9 kB / 0.7358 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2345, allocations: 4 kB / 0.7358 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.2346, allocations: 8 kB / 0.7358 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.2346, allocations: 8 kB / 0.7358 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.2349, allocations: 153.7 kB / 0.736 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.2364, allocations: 0.7236 MB / 0.7367 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.2368, allocations: 210.7 kB / 0.7369 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.2371, allocations: 192.7 kB / 0.7371 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2371, allocations: 7.938 kB / 0.7371 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004548/0.2376, allocations: 354.6 kB / 0.7374 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.2376, allocations: 0 / 0.7374 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.0008482/0.2384, allocations: 439.1 kB / 0.7378 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.2385, allocations: 110.8 kB / 0.7379 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.2389, allocations: 332.3 kB / 0.7382 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/0.239, allocations: 37.7 kB / 0.7383 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.2392, allocations: 180.7 kB / 0.7384 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.2392, allocations: 59.58 kB / 0.7385 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.2395, allocations: 146 kB / 0.7386 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.2398, allocations: 346.7 kB / 0.739 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00056/0.2403, allocations: 331.5 kB / 0.7393 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006593/0.241, allocations: 0.4914 MB / 0.7398 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008294/0.2418, allocations: 0.5349 MB / 0.7403 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.2418, allocations: 4 kB / 0.7403 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001444/0.2433, allocations: 0.876 MB / 0.7412 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.2434, allocations: 122.8 kB / 0.7413 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.2434, allocations: 4 kB / 0.7413 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.2434, allocations: 8.344 kB / 0.7413 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.2437, allocations: 59.91 kB / 0.7413 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.2437, allocations: 11.94 kB / 0.7413 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007845/0.2445, allocations: 127.5 kB / 0.7415 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.2446, allocations: 75.92 kB / 0.7415 GB, free: 3.465 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0003046/0.2449, allocations: 186 kB / 0.7417 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.259e-05/0.245, allocations: 31.77 kB / 0.7418 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006795/0.2457, allocations: 373.2 kB / 0.7421 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.2457, allocations: 7.938 kB / 0.7421 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2457, allocations: 4 kB / 0.7421 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.2457, allocations: 3.984 kB / 0.7421 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.2468, allocations: 0.693 MB / 0.7428 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.2468, allocations: 0 / 0.7428 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.2469, allocations: 39.91 kB / 0.7428 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.2469, allocations: 0 / 0.7428 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.247, allocations: 8 kB / 0.7428 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.247, allocations: 4 kB / 0.7428 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.247, allocations: 4 kB / 0.7429 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005872/0.2475, allocations: 440.6 kB / 0.7433 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.2476, allocations: 35.7 kB / 0.7433 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.2477, allocations: 7.984 kB / 0.7433 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.2478, allocations: 11.94 kB / 0.7433 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.2479, allocations: 27.89 kB / 0.7434 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.2479, allocations: 15.94 kB / 0.7434 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002762/0.2482, allocations: 215.1 kB / 0.7436 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2482, allocations: 0 / 0.7436 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004937/0.2487, allocations: 91.98 kB / 0.7437 GB, free: 1.215 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001124/0.2498, allocations: 0.9874 MB / 0.7446 GB, free: 204 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.251, allocations: 0.7466 MB / 0.7454 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.251, allocations: 0.8125 kB / 0.7454 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.2512, allocations: 127.9 kB / 0.7455 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.2517, allocations: 84.95 kB / 0.7456 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/0.2581, allocations: 4.345 MB / 0.7498 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.2583, allocations: 181.5 kB / 0.75 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.2585, allocations: 71.23 kB / 0.75 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.2587, allocations: 115.4 kB / 0.7502 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of SimCode: time 9.01e-07/0.2587, allocations: 0 / 0.7502 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.2965, allocations: 9.209 MB / 0.7591 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.13, allocations: 12.06 kB / 0.7592 GB, free: 1.266 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.36592366802506] Failed to read output from testmodel.py, exit status != 0: 12.621849772986025 12.635242951 12.401403023 Calling exit ...