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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 113.3 kB / 19.59 MB, free: 2.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 190.4 kB / 22.85 MB, free: 5.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 225.6 MB / 251.5 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.031/1.031, allocations: 149.6 MB / 456.3 MB, free: 1.258 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 62.2 kB / 0.6319 GB, free: 9.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1854, allocations: 87.89 MB / 0.7177 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002212/0.1876, allocations: 0.6534 MB / 0.7184 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.189, allocations: 0.8273 MB / 0.7192 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.806e-05/0.189, allocations: 4 kB / 0.7192 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.1892, allocations: 3.938 kB / 0.7192 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.88e-05/0.1892, allocations: 7.938 kB / 0.7192 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.1894, allocations: 11.98 kB / 0.7192 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.1895, allocations: 39.84 kB / 0.7192 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1896, allocations: 7.984 kB / 0.7193 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/0.1897, allocations: 12 kB / 0.7193 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.1898, allocations: 23.92 kB / 0.7193 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1898, allocations: 0 / 0.7193 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.1898, allocations: 4 kB / 0.7193 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.82e-05/0.1899, allocations: 19.91 kB / 0.7193 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.963e-05/0.1899, allocations: 15.92 kB / 0.7193 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.1901, allocations: 35.83 kB / 0.7194 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1901, allocations: 0 / 0.7194 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1901, allocations: 0 / 0.7194 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.1901, allocations: 0 / 0.7194 GB, free: 15.98 MB / 0.545 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.0005308/0.1906, allocations: 274.3 kB / 0.7196 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.1907, allocations: 12.62 kB / 0.7196 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.1907, allocations: 34.75 kB / 0.7197 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.1908, allocations: 4.938 kB / 0.7197 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.1909, allocations: 130.4 kB / 0.7198 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.191, allocations: 384 / 0.7198 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.191, allocations: 4.375 kB / 0.7198 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.1912, allocations: 62.22 kB / 0.7199 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1912, allocations: 11.88 kB / 0.7199 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1912, allocations: 0 / 0.7199 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.1912, allocations: 7.984 kB / 0.7199 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.1914, allocations: 43.95 kB / 0.7199 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.192, allocations: 247.9 kB / 0.7202 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1921, allocations: 46.5 kB / 0.7202 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.932e-05/0.1922, allocations: 20.89 kB / 0.7202 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.1922, allocations: 8 kB / 0.7202 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.1923, allocations: 30.56 kB / 0.7203 GB, free: 14.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.1923, allocations: 0 / 0.7203 GB, free: 14.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004555/0.1927, allocations: 85.64 kB / 0.7203 GB, free: 14.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.1928, allocations: 51.41 kB / 0.7204 GB, free: 14.78 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.71e-05/0.1929, allocations: 109.8 kB / 0.7205 GB, free: 14.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1929, allocations: 25.7 kB / 0.7205 GB, free: 14.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.193, allocations: 96.03 kB / 0.7206 GB, free: 14.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.193, allocations: 0 / 0.7206 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.193, allocations: 17.7 kB / 0.7206 GB, free: 14.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1932, allocations: 322.9 kB / 0.7209 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/0.1933, allocations: 15.98 kB / 0.721 GB, free: 14.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.441e-05/0.1934, allocations: 19.97 kB / 0.721 GB, free: 14.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1935, allocations: 36.83 kB / 0.721 GB, free: 14.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1935, allocations: 0 / 0.721 GB, free: 14.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000226/0.1938, allocations: 81.67 kB / 0.7211 GB, free: 14.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1938, allocations: 13.8 kB / 0.7211 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1938, allocations: 3.938 kB / 0.7211 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1938, allocations: 0 / 0.7211 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1939, allocations: 8 kB / 0.7211 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.1939, allocations: 3.984 kB / 0.7211 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.194, allocations: 4 kB / 0.7211 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.194, allocations: 0 / 0.7211 GB, free: 13.99 MB / 0.545 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.0001589/0.1941, allocations: 125.8 kB / 0.7212 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.1941, allocations: 0 / 0.7212 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/0.1942, allocations: 3.312 kB / 0.7212 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1942, allocations: 4 kB / 0.7212 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1942, allocations: 0 / 0.7212 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1942, allocations: 0 / 0.7212 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.1943, allocations: 140.7 kB / 0.7214 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1943, allocations: 0 / 0.7214 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-05/0.1944, allocations: 12.23 kB / 0.7214 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1944, allocations: 4 kB / 0.7214 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1944, allocations: 4 kB / 0.7214 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1944, allocations: 0 / 0.7214 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1944, allocations: 0 / 0.7214 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.1947, allocations: 171.3 kB / 0.7216 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.1947, allocations: 4 kB / 0.7216 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1947, allocations: 8.016 kB / 0.7216 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.1948, allocations: 4 kB / 0.7216 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.1949, allocations: 7.984 kB / 0.7216 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1949, allocations: 4 kB / 0.7216 GB, free: 13.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.765e-05/0.1949, allocations: 79.28 kB / 0.7217 GB, free: 13.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1949, allocations: 0 / 0.7217 GB, free: 13.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002267/0.1952, allocations: 7.938 kB / 0.7217 GB, free: 13.36 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.0006234/0.1958, allocations: 0.7046 MB / 0.7224 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.196, allocations: 39.89 kB / 0.7224 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.196, allocations: 4.031 kB / 0.7224 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.1961, allocations: 27.98 kB / 0.7224 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1964, allocations: 3.984 kB / 0.7224 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.198, allocations: 1.264 MB / 0.7237 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1983, allocations: 0.6846 MB / 0.7243 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.103e-05/0.1984, allocations: 4 kB / 0.7243 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.1984, allocations: 15.42 kB / 0.7244 GB, free: 10.48 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.1984, allocations: 0 / 0.7244 GB, free: 10.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.2245, allocations: 1.521 MB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.068, allocations: 6.984 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB " [Timeout remaining time 652] (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 sys.exit(0), Time elapsed: 12.053666962005082] Failed to read output from testmodel.py, exit status != 0: 8.136756665990106 8.158716364 7.963684874 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f88f8dbd7b0>