Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001833/0.001833, allocations: 105 kB / 20.48 MB, free: 1.488 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.002329/0.002329, allocations: 215 kB / 23.79 MB, free: 4.703 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.506/1.506, allocations: 230.6 MB / 257.6 MB, free: 8.016 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 0.989/0.989, allocations: 150 MB / 464 MB, free: 10.53 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.IntegerExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.002284/0.002284, allocations: 68.95 kB / 0.642 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1865, allocations: 89.16 MB / 0.7291 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002166/0.1887, allocations: 0.8616 MB / 0.7299 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1906, allocations: 1.33 MB / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.1907, allocations: 3.938 kB / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.1908, allocations: 19.8 kB / 0.7313 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/0.1909, allocations: 35.78 kB / 0.7313 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007999/0.1917, allocations: 267 kB / 0.7316 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00039/0.192, allocations: 327.4 kB / 0.7319 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.1922, allocations: 45.59 kB / 0.7319 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.1924, allocations: 135.7 kB / 0.732 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.1926, allocations: 103.6 kB / 0.7321 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/0.1926, allocations: 35.94 kB / 0.7322 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1928, allocations: 55.97 kB / 0.7322 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.1928, allocations: 51.78 kB / 0.7323 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.193, allocations: 119.5 kB / 0.7324 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.1934, allocations: 350.8 kB / 0.7327 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1934, allocations: 0 / 0.7327 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1934, allocations: 3.938 kB / 0.7327 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.1934, allocations: 0 / 0.7327 GB, free: 13.63 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007501/0.1942, allocations: 488.7 kB / 0.7332 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1942, allocations: 8.031 kB / 0.7332 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.852e-05/0.1942, allocations: 4.188 kB / 0.7332 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.1943, allocations: 42.75 kB / 0.7332 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.1946, allocations: 68.72 kB / 0.7333 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006322/0.1952, allocations: 230.2 kB / 0.7335 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.1953, allocations: 16.36 kB / 0.7335 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.1953, allocations: 24.36 kB / 0.7336 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.1956, allocations: 150.1 kB / 0.7337 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1956, allocations: 3.938 kB / 0.7337 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.1956, allocations: 12 kB / 0.7337 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1956, allocations: 0 / 0.7337 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.1957, allocations: 71.89 kB / 0.7338 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008819/0.1966, allocations: 0.7148 MB / 0.7345 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1967, allocations: 57.2 kB / 0.7346 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.1968, allocations: 21.77 kB / 0.7346 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.1968, allocations: 0 / 0.7346 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.197, allocations: 116.9 kB / 0.7347 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.197, allocations: 0 / 0.7347 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003911/0.1974, allocations: 125.5 kB / 0.7348 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/0.1975, allocations: 77.11 kB / 0.7349 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.1978, allocations: 211.8 kB / 0.7351 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/0.1979, allocations: 37.7 kB / 0.7351 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.198, allocations: 144.3 kB / 0.7353 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.198, allocations: 11.91 kB / 0.7353 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1982, allocations: 65.67 kB / 0.7353 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1984, allocations: 326.8 kB / 0.7356 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.1985, allocations: 67.97 kB / 0.7357 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.1987, allocations: 132.4 kB / 0.7358 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.1991, allocations: 190.2 kB / 0.736 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1991, allocations: 0 / 0.736 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005961/0.1996, allocations: 312.6 kB / 0.7363 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.909e-05/0.1997, allocations: 63.39 kB / 0.7364 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1997, allocations: 4 kB / 0.7364 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1997, allocations: 0 / 0.7364 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/0.1998, allocations: 12.12 kB / 0.7364 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.1998, allocations: 8 kB / 0.7364 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.2002, allocations: 55.94 kB / 0.7364 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.2002, allocations: 15.98 kB / 0.7365 GB, free: 9.453 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001949/0.2004, allocations: 149 kB / 0.7366 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.2005, allocations: 19.86 kB / 0.7366 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.2005, allocations: 21.02 kB / 0.7366 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2005, allocations: 0 / 0.7366 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.2005, allocations: 3.938 kB / 0.7366 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2005, allocations: 0 / 0.7366 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.2008, allocations: 213 kB / 0.7368 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2008, allocations: 4 kB / 0.7369 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.2008, allocations: 4 kB / 0.7369 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2008, allocations: 0 / 0.7369 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2009, allocations: 3.938 kB / 0.7369 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.2009, allocations: 7.984 kB / 0.7369 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2009, allocations: 4 kB / 0.7369 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.2011, allocations: 141.8 kB / 0.737 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.2011, allocations: 11.91 kB / 0.737 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.2012, allocations: 7.938 kB / 0.737 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.194e-05/0.2012, allocations: 0 / 0.737 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.2012, allocations: 7.984 kB / 0.737 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.2012, allocations: 8 kB / 0.737 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001618/0.2014, allocations: 148.2 kB / 0.7372 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2014, allocations: 0 / 0.7372 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003109/0.2017, allocations: 47.89 kB / 0.7372 GB, free: 8.594 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006984/0.2024, allocations: 0.6817 MB / 0.7379 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.2029, allocations: 226.7 kB / 0.7381 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2029, allocations: 0 / 0.7381 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.203, allocations: 27.92 kB / 0.7381 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.2033, allocations: 43.67 kB / 0.7382 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.2064, allocations: 2.17 MB / 0.7403 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.2069, allocations: 0.7281 MB / 0.741 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.207, allocations: 21.47 kB / 0.741 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/0.2071, allocations: 51.42 kB / 0.7411 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.2071, allocations: 0 / 0.7411 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.235, allocations: 4.442 MB / 0.7454 GB, free: 200 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.65, allocations: 20.97 kB / 0.7454 GB, free: 188 kB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.626406055002008] Failed to read output from testmodel.py, exit status != 0: 11.818124748999253 11.847842856 11.648751393 Calling exit ...