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.001418/0.001418, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001707/0.001707, allocations: 201.6 kB / 20.8 MB, free: 2.371 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 / 254.2 MB, free: 15.11 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.056/1.056, allocations: 150 MB / 460.2 MB, free: 5.316 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.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.002012/0.002012, allocations: 61.34 kB / 0.6368 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2182, allocations: 89.14 MB / 0.7238 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002984/0.2211, allocations: 0.6539 MB / 0.7245 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.223, allocations: 0.8572 MB / 0.7253 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.223, allocations: 0 / 0.7253 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.683e-05/0.2231, allocations: 3.938 kB / 0.7253 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.295e-05/0.2232, allocations: 3.938 kB / 0.7253 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.2234, allocations: 19.97 kB / 0.7253 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.2235, allocations: 39.84 kB / 0.7254 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.2236, allocations: 11.94 kB / 0.7254 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.795e-05/0.2236, allocations: 15.98 kB / 0.7254 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.2237, allocations: 19.86 kB / 0.7254 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.2237, allocations: 4 kB / 0.7254 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.2237, allocations: 0 / 0.7254 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.2238, allocations: 15.97 kB / 0.7254 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.2238, allocations: 15.88 kB / 0.7255 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.224, allocations: 39.81 kB / 0.7255 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.224, allocations: 0 / 0.7255 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.224, allocations: 0 / 0.7255 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.224, allocations: 0 / 0.7255 GB, free: 2.359 MB / 0.5294 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.0005826/0.2246, allocations: 355.4 kB / 0.7258 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2246, allocations: 8.031 kB / 0.7258 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.059e-05/0.2246, allocations: 192 / 0.7258 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.2246, allocations: 34.75 kB / 0.7259 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.2247, allocations: 4.891 kB / 0.7259 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.2249, allocations: 172.4 kB / 0.726 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2249, allocations: 4.359 kB / 0.7261 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.2249, allocations: 8.312 kB / 0.7261 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.2252, allocations: 77.89 kB / 0.7261 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2252, allocations: 4 kB / 0.7261 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.2252, allocations: 0 / 0.7261 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-06/0.2252, allocations: 0 / 0.7261 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.2255, allocations: 43.95 kB / 0.7262 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.226, allocations: 288.7 kB / 0.7265 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.2262, allocations: 38.5 kB / 0.7265 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.2263, allocations: 28.89 kB / 0.7265 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.2263, allocations: 0 / 0.7265 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.2264, allocations: 30.56 kB / 0.7266 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2264, allocations: 0 / 0.7266 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0005985/0.227, allocations: 89.64 kB / 0.7266 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.227, allocations: 55.34 kB / 0.7267 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.2272, allocations: 109.8 kB / 0.7268 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.2272, allocations: 29.7 kB / 0.7268 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/0.2273, allocations: 84.14 kB / 0.7269 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.2273, allocations: 3.953 kB / 0.7269 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.2273, allocations: 25.83 kB / 0.7269 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.2275, allocations: 314.8 kB / 0.7272 GB, free: 364 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.2277, allocations: 19.98 kB / 0.7272 GB, free: 344 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.2278, allocations: 19.97 kB / 0.7273 GB, free: 324 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.2281, allocations: 48.88 kB / 0.7273 GB, free: 272 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2281, allocations: 0 / 0.7273 GB, free: 272 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003242/0.2284, allocations: 65.66 kB / 0.7274 GB, free: 200 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2284, allocations: 11.88 kB / 0.7274 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2284, allocations: 0 / 0.7274 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.2284, allocations: 7.938 kB / 0.7274 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.2286, allocations: 7.984 kB / 0.7274 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.2286, allocations: 0 / 0.7274 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.737e-05/0.2287, allocations: 8.031 kB / 0.7274 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.2287, allocations: 0 / 0.7274 GB, free: 164 kB / 0.5294 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.0002442/0.229, allocations: 121.8 kB / 0.7275 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.229, allocations: 3.953 kB / 0.7275 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.056e-05/0.229, allocations: 7.125 kB / 0.7275 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.229, allocations: 0 / 0.7275 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.229, allocations: 0 / 0.7275 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.229, allocations: 0 / 0.7275 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.2293, allocations: 169.6 kB / 0.7277 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.2293, allocations: 4 kB / 0.7277 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.2294, allocations: 11.98 kB / 0.7277 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2294, allocations: 0 / 0.7277 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2294, allocations: 0 / 0.7277 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2294, allocations: 0 / 0.7277 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2295, allocations: 0 / 0.7277 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.2299, allocations: 175.4 kB / 0.7279 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.2299, allocations: 81.09 kB / 0.728 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.2299, allocations: 0 / 0.728 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.2301, allocations: 4 kB / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.2301, allocations: 12.23 kB / 0.728 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.2302, allocations: 0 / 0.728 GB, free: 15.49 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.412e-05/0.2302, allocations: 83.28 kB / 0.7281 GB, free: 15.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2302, allocations: 0 / 0.7281 GB, free: 15.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003429/0.2306, allocations: 11.89 kB / 0.7281 GB, free: 15.4 MB / 0.545 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.000875/0.2314, allocations: 0.7008 MB / 0.7288 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.2318, allocations: 51.92 kB / 0.7288 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2318, allocations: 0 / 0.7288 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.2319, allocations: 19.98 kB / 0.7288 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.2323, allocations: 9.547 kB / 0.7288 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.2345, allocations: 1.268 MB / 0.7301 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.2349, allocations: 0.6768 MB / 0.7307 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.544e-05/0.235, allocations: 7.938 kB / 0.7307 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.235, allocations: 19.42 kB / 0.7308 GB, free: 12.51 MB / 0.545 GB Notification: Performance of SimCode: time 6.62e-07/0.235, allocations: 0 / 0.7308 GB, free: 12.51 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.2574, allocations: 1.562 MB / 0.7323 GB, free: 11.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/8.464, allocations: 23.62 kB / 0.7323 GB, free: 11.1 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.53662659501424] Failed to read output from testmodel.py, exit status != 0: 8.591112553956918 8.615339923 8.386909147 Calling exit ...