Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.00128/0.00128, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001419/0.001419, allocations: 210.6 kB / 23.77 MB, free: 4.559 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.553/1.553, allocations: 230.6 MB / 257.6 MB, free: 7.809 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.035/1.035, allocations: 150 MB / 463.9 MB, free: 10.25 MB / 366.1 MB " [Timeout remaining time 178] 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.IntegerScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.002092/0.002092, allocations: 66.03 kB / 0.642 GB, free: 9.918 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2082, allocations: 89.18 MB / 0.729 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002098/0.2103, allocations: 0.6465 MB / 0.7297 GB, free: 184 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.2116, allocations: 0.8509 MB / 0.7305 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.2116, allocations: 0 / 0.7305 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.2118, allocations: 7.922 kB / 0.7305 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.437e-05/0.2118, allocations: 0 / 0.7305 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.212, allocations: 23.91 kB / 0.7305 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.019e-05/0.2121, allocations: 39.86 kB / 0.7306 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.2122, allocations: 8.281 kB / 0.7306 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.066e-05/0.2122, allocations: 11.98 kB / 0.7306 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/0.2123, allocations: 15.92 kB / 0.7306 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.2123, allocations: 4 kB / 0.7306 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.2123, allocations: 4 kB / 0.7306 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.895e-05/0.2124, allocations: 15.91 kB / 0.7306 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.2124, allocations: 11.94 kB / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.2125, allocations: 35.83 kB / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.2125, allocations: 4 kB / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2125, allocations: 0 / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.2125, allocations: 4 kB / 0.7307 GB, free: 15.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005012/0.213, allocations: 274.3 kB / 0.7309 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2131, allocations: 12.03 kB / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.821e-05/0.2131, allocations: 192 / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.2131, allocations: 34.75 kB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.2132, allocations: 12.89 kB / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.2133, allocations: 122.5 kB / 0.7311 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.2133, allocations: 384 / 0.7311 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.2133, allocations: 4.375 kB / 0.7311 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.2136, allocations: 69.97 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2136, allocations: 0 / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.2136, allocations: 0 / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2136, allocations: 4 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.2138, allocations: 43.95 kB / 0.7312 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.2142, allocations: 247.8 kB / 0.7315 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.2143, allocations: 34.56 kB / 0.7315 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.2144, allocations: 32.89 kB / 0.7315 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.2144, allocations: 0 / 0.7315 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.2145, allocations: 34.56 kB / 0.7316 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.2145, allocations: 0 / 0.7316 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003815/0.2149, allocations: 93.58 kB / 0.7317 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.2149, allocations: 51.41 kB / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/0.215, allocations: 105.8 kB / 0.7318 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.215, allocations: 29.83 kB / 0.7318 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.2151, allocations: 95.95 kB / 0.7319 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.2151, allocations: 7.953 kB / 0.7319 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.2151, allocations: 17.72 kB / 0.7319 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2153, allocations: 314.8 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.279e-05/0.2154, allocations: 19.97 kB / 0.7323 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.2155, allocations: 19.98 kB / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.2156, allocations: 48.81 kB / 0.7323 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2156, allocations: 0 / 0.7323 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002177/0.2158, allocations: 65.66 kB / 0.7324 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2159, allocations: 8 kB / 0.7324 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2159, allocations: 0 / 0.7324 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2159, allocations: 0 / 0.7324 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.216, allocations: 15.98 kB / 0.7324 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.216, allocations: 4.031 kB / 0.7324 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/0.216, allocations: 4 kB / 0.7324 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2161, allocations: 3.984 kB / 0.7324 GB, free: 13.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001562/0.2162, allocations: 113.8 kB / 0.7325 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.2162, allocations: 7.891 kB / 0.7325 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.2163, allocations: 7.312 kB / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2163, allocations: 0 / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2163, allocations: 4 kB / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2163, allocations: 0 / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.2164, allocations: 136.9 kB / 0.7327 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2164, allocations: 4 kB / 0.7327 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.2165, allocations: 11.94 kB / 0.7327 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2165, allocations: 4 kB / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2165, allocations: 3.984 kB / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2165, allocations: 0 / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2165, allocations: 0 / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.2168, allocations: 167.5 kB / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.2168, allocations: 0 / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.2168, allocations: 4.031 kB / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.2169, allocations: 11.98 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.217, allocations: 7.984 kB / 0.7329 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.217, allocations: 3.984 kB / 0.7329 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.217, allocations: 83.28 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.217, allocations: 0 / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002216/0.2172, allocations: 7.938 kB / 0.733 GB, free: 12.5 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006641/0.2179, allocations: 0.7085 MB / 0.7337 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.2181, allocations: 35.97 kB / 0.7337 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2181, allocations: 7.938 kB / 0.7337 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.408e-05/0.2182, allocations: 23.91 kB / 0.7337 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.2185, allocations: 8.984 kB / 0.7337 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.22, allocations: 1.261 MB / 0.735 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.032e-05/0.2201, allocations: 63.34 kB / 0.735 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.2201, allocations: 4 kB / 0.735 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.2202, allocations: 19.47 kB / 0.7351 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.2202, allocations: 3.938 kB / 0.7351 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.2417, allocations: 1.698 MB / 0.7367 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.49, allocations: 2.578 kB / 0.7367 GB, free: 8.695 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.579902956960723] Failed to read output from testmodel.py, exit status != 0: 11.656382146989927 11.673046857 11.457376638 Calling exit ...