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.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.001249/0.001249, allocations: 105.2 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.001466/0.001466, allocations: 217.1 kB / 23.79 MB, free: 4.699 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.499/1.499, allocations: 230.6 MB / 257.6 MB, free: 8.004 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.9949/0.9949, allocations: 150 MB / 464 MB, free: 10.5 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.RealScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.002304/0.002304, allocations: 67.98 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2076, allocations: 89.16 MB / 0.7291 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001987/0.2095, allocations: 0.6351 MB / 0.7297 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2106, allocations: 0.8199 MB / 0.7305 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.2107, allocations: 4 kB / 0.7305 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.313e-05/0.2108, allocations: 3.938 kB / 0.7305 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.881e-05/0.2108, allocations: 7.938 kB / 0.7305 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.2109, allocations: 11.98 kB / 0.7306 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.576e-05/0.211, allocations: 23.98 kB / 0.7306 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.2111, allocations: 7.984 kB / 0.7306 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.2112, allocations: 15.86 kB / 0.7306 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.973e-05/0.2112, allocations: 11.98 kB / 0.7306 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.2112, allocations: 4 kB / 0.7306 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-06/0.2112, allocations: 0 / 0.7306 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.2113, allocations: 11.94 kB / 0.7306 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.2113, allocations: 11.94 kB / 0.7306 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.464e-05/0.2114, allocations: 27.83 kB / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.2114, allocations: 8 kB / 0.7307 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2114, allocations: 0 / 0.7307 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.2115, allocations: 0 / 0.7307 GB, free: 15.67 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004374/0.2119, allocations: 262.3 kB / 0.7309 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.2119, allocations: 15.97 kB / 0.7309 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.475e-05/0.212, allocations: 192 / 0.7309 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.212, allocations: 34.73 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.212, allocations: 8.891 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.2122, allocations: 122.5 kB / 0.7311 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.2122, allocations: 384 / 0.7311 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.2122, allocations: 384 / 0.7311 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2124, allocations: 65.92 kB / 0.7312 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2124, allocations: 0 / 0.7312 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.2124, allocations: 0 / 0.7312 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2124, allocations: 0 / 0.7312 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.2125, allocations: 35.95 kB / 0.7312 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.213, allocations: 251.9 kB / 0.7314 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.2131, allocations: 34.44 kB / 0.7315 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.882e-05/0.2132, allocations: 24.89 kB / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.2132, allocations: 0 / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.2132, allocations: 42.56 kB / 0.7315 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2132, allocations: 0 / 0.7315 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000361/0.2136, allocations: 77.58 kB / 0.7316 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.2136, allocations: 59.39 kB / 0.7317 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.2137, allocations: 93.86 kB / 0.7317 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.2137, allocations: 29.83 kB / 0.7318 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.2138, allocations: 92.12 kB / 0.7319 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.2138, allocations: 3.953 kB / 0.7319 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.2138, allocations: 9.719 kB / 0.7319 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.214, allocations: 322.8 kB / 0.7322 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.2141, allocations: 11.98 kB / 0.7322 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.2141, allocations: 11.98 kB / 0.7322 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.2143, allocations: 40.88 kB / 0.7322 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2143, allocations: 0 / 0.7322 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001973/0.2145, allocations: 69.59 kB / 0.7323 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2145, allocations: 4 kB / 0.7323 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2145, allocations: 0 / 0.7323 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2145, allocations: 4.031 kB / 0.7323 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.2146, allocations: 4 kB / 0.7323 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2146, allocations: 0 / 0.7323 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.2146, allocations: 7.984 kB / 0.7323 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.2147, allocations: 0 / 0.7323 GB, free: 13.77 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: 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 9.166e-05/0.2147, allocations: 119.8 kB / 0.7324 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.2148, allocations: 0 / 0.7324 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.2148, allocations: 11.14 kB / 0.7325 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2148, allocations: 0 / 0.7325 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2148, allocations: 7.938 kB / 0.7325 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2148, allocations: 0 / 0.7325 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.215, allocations: 132.7 kB / 0.7326 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.215, allocations: 0 / 0.7326 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.312e-05/0.215, allocations: 7.984 kB / 0.7326 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.215, allocations: 0 / 0.7326 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.215, allocations: 3.938 kB / 0.7326 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.215, allocations: 0 / 0.7326 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.215, allocations: 0 / 0.7326 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.2153, allocations: 175.3 kB / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.2153, allocations: 3.938 kB / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.2153, allocations: 256 / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.2154, allocations: 7.984 kB / 0.7328 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.2154, allocations: 4 kB / 0.7328 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.2154, allocations: 0 / 0.7328 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.754e-05/0.2155, allocations: 91.3 kB / 0.7329 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2155, allocations: 0 / 0.7329 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002117/0.2157, allocations: 4 kB / 0.7329 GB, free: 13.14 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: 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.0005486/0.2162, allocations: 0.689 MB / 0.7335 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.2164, allocations: 39.91 kB / 0.7336 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2164, allocations: 0 / 0.7336 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.2165, allocations: 19.98 kB / 0.7336 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.2168, allocations: 8.391 kB / 0.7336 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.2183, allocations: 1.233 MB / 0.7348 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.2186, allocations: 0.6768 MB / 0.7355 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.08e-05/0.2186, allocations: 4 kB / 0.7355 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.2187, allocations: 11.44 kB / 0.7355 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2187, allocations: 0 / 0.7355 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.2424, allocations: 1.418 MB / 0.7369 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.41, allocations: 10.42 kB / 0.7369 GB, free: 9.066 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.284700783027802] Failed to read output from testmodel.py, exit status != 0: 11.571961326000746 11.587676083 11.372845829 Calling exit ...