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.001785/0.001785, allocations: 111.8 kB / 17.08 MB, free: 5.988 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.002036/0.002036, allocations: 194.7 kB / 20.03 MB, free: 3.055 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.484/1.484, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.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.154/1.154, allocations: 147.6 MB / 445.6 MB, free: 8.352 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.2453/0.2453, allocations: 67.22 kB / 0.6109 GB, free: 37.72 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.4368, allocations: 83.15 MB / 0.6921 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002027/0.4389, allocations: 0.6295 MB / 0.6927 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.44, allocations: 0.7888 MB / 0.6935 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.44, allocations: 0 / 0.6935 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.645e-05/0.4402, allocations: 1.344 kB / 0.6935 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.194e-05/0.4402, allocations: 7.938 kB / 0.6935 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.4403, allocations: 9.172 kB / 0.6935 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.914e-05/0.4404, allocations: 21.88 kB / 0.6935 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.4405, allocations: 7.297 kB / 0.6935 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.083e-05/0.4406, allocations: 11.28 kB / 0.6935 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.4407, allocations: 15.2 kB / 0.6936 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.4407, allocations: 6.281 kB / 0.6936 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.4407, allocations: 2.125 kB / 0.6936 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.4408, allocations: 11.28 kB / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.4408, allocations: 10.25 kB / 0.6936 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.4409, allocations: 34.83 kB / 0.6936 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4409, allocations: 0 / 0.6936 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.441, allocations: 0 / 0.6936 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.441, allocations: 0 / 0.6936 GB, free: 12.19 MB / 0.5137 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.0005733/0.4415, allocations: 341.7 kB / 0.6939 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/0.4416, allocations: 9.281 kB / 0.694 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.4417, allocations: 32.09 kB / 0.694 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.4417, allocations: 6.25 kB / 0.694 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.4419, allocations: 180.1 kB / 0.6942 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4419, allocations: 5.562 kB / 0.6942 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.4419, allocations: 1.5 kB / 0.6942 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.4422, allocations: 56.61 kB / 0.6942 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4422, allocations: 5.031 kB / 0.6942 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.4422, allocations: 3.938 kB / 0.6942 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4422, allocations: 1.344 kB / 0.6942 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.4424, allocations: 35.23 kB / 0.6943 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.4429, allocations: 281.8 kB / 0.6945 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.443, allocations: 29.91 kB / 0.6946 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.306e-05/0.4431, allocations: 25.73 kB / 0.6946 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.4432, allocations: 0 / 0.6946 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.4432, allocations: 34.56 kB / 0.6946 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.4432, allocations: 0 / 0.6946 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0003829/0.4436, allocations: 78.3 kB / 0.6947 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.4437, allocations: 55.41 kB / 0.6947 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/0.4438, allocations: 95.98 kB / 0.6948 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.4438, allocations: 25.83 kB / 0.6949 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.4439, allocations: 98.3 kB / 0.695 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.4439, allocations: 1.156 kB / 0.695 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.4439, allocations: 11.16 kB / 0.695 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.4441, allocations: 320.4 kB / 0.6953 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/0.4442, allocations: 12.36 kB / 0.6953 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.4443, allocations: 16.97 kB / 0.6953 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.4445, allocations: 41.58 kB / 0.6953 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4445, allocations: 0 / 0.6953 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001977/0.4447, allocations: 65.61 kB / 0.6954 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4447, allocations: 7.406 kB / 0.6954 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4447, allocations: 5.141 kB / 0.6954 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.4447, allocations: 0 / 0.6954 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.4448, allocations: 12.59 kB / 0.6954 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4449, allocations: 256 / 0.6954 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.4449, allocations: 7.578 kB / 0.6954 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.4449, allocations: 5.125 kB / 0.6954 GB, free: 10.31 MB / 0.5137 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.0001085/0.445, allocations: 117.1 kB / 0.6956 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.4451, allocations: 0 / 0.6956 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.4451, allocations: 8.641 kB / 0.6956 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4451, allocations: 0 / 0.6956 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4451, allocations: 5.5 kB / 0.6956 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4451, allocations: 0 / 0.6956 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.4453, allocations: 163.3 kB / 0.6957 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4453, allocations: 0 / 0.6957 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.4454, allocations: 8.703 kB / 0.6957 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.4454, allocations: 5.625 kB / 0.6957 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.4454, allocations: 0 / 0.6957 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4454, allocations: 0 / 0.6957 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4454, allocations: 0 / 0.6957 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.4457, allocations: 165.9 kB / 0.6959 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.4458, allocations: 81.06 kB / 0.696 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.4458, allocations: 1.75 kB / 0.696 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.4459, allocations: 11.47 kB / 0.696 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.4459, allocations: 0 / 0.696 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.4459, allocations: 1.844 kB / 0.696 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.077e-05/0.446, allocations: 90.98 kB / 0.6961 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.446, allocations: 0 / 0.6961 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002077/0.4462, allocations: 3.656 kB / 0.6961 GB, free: 9.621 MB / 0.5137 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.0006048/0.4468, allocations: 0.6921 MB / 0.6967 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.447, allocations: 30.88 kB / 0.6968 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.447, allocations: 1.312 kB / 0.6968 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.4471, allocations: 20.81 kB / 0.6968 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.4475, allocations: 6.5 kB / 0.6968 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.4489, allocations: 1.235 MB / 0.698 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.4492, allocations: 0.6782 MB / 0.6987 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.4493, allocations: 1.375 kB / 0.6987 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.4493, allocations: 16.75 kB / 0.6987 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.4493, allocations: 0 / 0.6987 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.4714, allocations: 1.285 MB / 0.6999 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.389, allocations: 2.781 kB / 0.6999 GB, free: 6.254 MB / 0.5137 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.966343543026596] Failed to read output from testmodel.py, exit status != 0: 8.458705266006291 8.482338774 8.037381953 Calling exit ...