Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001361/0.001361, 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.001634/0.001634, allocations: 189.7 kB / 22.85 MB, free: 5.645 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.465/1.465, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.012/1.012, allocations: 149.6 MB / 456.3 MB, free: 1.301 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.RealScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 67.45 kB / 0.6319 GB, free: 9.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2017, allocations: 87.87 MB / 0.7177 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001947/0.2037, allocations: 0.6384 MB / 0.7184 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009743/0.2047, allocations: 0.7928 MB / 0.7191 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.2047, allocations: 0 / 0.7191 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.201e-05/0.2048, allocations: 3.938 kB / 0.7191 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.512e-05/0.2048, allocations: 3.938 kB / 0.7191 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 9.018e-05/0.2049, allocations: 11.98 kB / 0.7192 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.266e-05/0.205, allocations: 27.98 kB / 0.7192 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.065e-05/0.2051, allocations: 8 kB / 0.7192 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.935e-05/0.2051, allocations: 15.86 kB / 0.7192 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.2052, allocations: 11.94 kB / 0.7192 GB, free: 212 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2052, allocations: 0 / 0.7192 GB, free: 212 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-06/0.2052, allocations: 4 kB / 0.7192 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.2052, allocations: 7.984 kB / 0.7192 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.2053, allocations: 15.92 kB / 0.7192 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.759e-05/0.2053, allocations: 31.89 kB / 0.7193 GB, free: 152 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2053, allocations: 0 / 0.7193 GB, free: 152 kB / 0.5294 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2053, allocations: 0 / 0.7193 GB, free: 152 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2053, allocations: 4 kB / 0.7193 GB, free: 148 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004085/0.2058, allocations: 270.2 kB / 0.7195 GB, free: 15.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2058, allocations: 8.625 kB / 0.7195 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.2058, allocations: 34.75 kB / 0.7196 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.757e-05/0.2058, allocations: 0.9375 kB / 0.7196 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.206, allocations: 122.4 kB / 0.7197 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.206, allocations: 384 / 0.7197 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.206, allocations: 4.375 kB / 0.7197 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.2062, allocations: 62.17 kB / 0.7198 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.2062, allocations: 3.938 kB / 0.7198 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.2062, allocations: 4 kB / 0.7198 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2062, allocations: 0 / 0.7198 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.2064, allocations: 35.95 kB / 0.7198 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.2067, allocations: 244 kB / 0.72 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.2069, allocations: 30.5 kB / 0.7201 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.2069, allocations: 24.91 kB / 0.7201 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.2069, allocations: 0 / 0.7201 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.207, allocations: 30.56 kB / 0.7201 GB, free: 15.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.207, allocations: 0 / 0.7201 GB, free: 15.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002978/0.2073, allocations: 77.64 kB / 0.7202 GB, free: 15.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.2073, allocations: 55.34 kB / 0.7202 GB, free: 15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.2074, allocations: 105.8 kB / 0.7203 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2074, allocations: 25.7 kB / 0.7204 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.2075, allocations: 92.03 kB / 0.7205 GB, free: 14.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.2075, allocations: 0 / 0.7205 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.2075, allocations: 21.83 kB / 0.7205 GB, free: 14.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2076, allocations: 318.8 kB / 0.7208 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.2077, allocations: 11.98 kB / 0.7208 GB, free: 14.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.2078, allocations: 11.98 kB / 0.7208 GB, free: 14.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.2079, allocations: 44.88 kB / 0.7208 GB, free: 14.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2079, allocations: 0 / 0.7208 GB, free: 14.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001752/0.2081, allocations: 65.56 kB / 0.7209 GB, free: 14.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.2081, allocations: 4 kB / 0.7209 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.2081, allocations: 0 / 0.7209 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2081, allocations: 3.984 kB / 0.7209 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.2082, allocations: 8 kB / 0.7209 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2082, allocations: 0 / 0.7209 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.2082, allocations: 12.27 kB / 0.7209 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.2082, allocations: 4 kB / 0.7209 GB, free: 14.25 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001032/0.2083, allocations: 113.8 kB / 0.721 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.2084, allocations: 7.938 kB / 0.7211 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.628e-05/0.2084, allocations: 3.156 kB / 0.7211 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2084, allocations: 0 / 0.7211 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2084, allocations: 7.922 kB / 0.7211 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.2084, allocations: 0 / 0.7211 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.2085, allocations: 132.7 kB / 0.7212 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2086, allocations: 4 kB / 0.7212 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.2086, allocations: 7.984 kB / 0.7212 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2086, allocations: 3.984 kB / 0.7212 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.2086, allocations: 0 / 0.7212 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2086, allocations: 0 / 0.7212 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2086, allocations: 4 kB / 0.7212 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.2088, allocations: 167.4 kB / 0.7214 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-06/0.2088, allocations: 3.953 kB / 0.7214 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.2089, allocations: 0 / 0.7214 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.2089, allocations: 7.984 kB / 0.7214 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.209, allocations: 4 kB / 0.7214 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.209, allocations: 0 / 0.7214 GB, free: 13.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.209, allocations: 83.28 kB / 0.7215 GB, free: 13.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.209, allocations: 0 / 0.7215 GB, free: 13.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002071/0.2092, allocations: 4 kB / 0.7215 GB, free: 13.63 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0005078/0.2097, allocations: 0.689 MB / 0.7221 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.2099, allocations: 39.94 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2099, allocations: 0 / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.235e-05/0.21, allocations: 15.98 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.2103, allocations: 4 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.2116, allocations: 1.226 MB / 0.7234 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2119, allocations: 0.6768 MB / 0.7241 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.2119, allocations: 4 kB / 0.7241 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.2119, allocations: 11.44 kB / 0.7241 GB, free: 10.84 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.2119, allocations: 0 / 0.7241 GB, free: 10.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.2347, allocations: 1.296 MB / 0.7253 GB, free: 9.633 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/7.924, allocations: 11.55 kB / 0.7253 GB, free: 9.629 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.771310883006663] Failed to read output from testmodel.py, exit status != 0: 7.993075701990165 8.009640251 7.800723832 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe72afb97b0>