Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.001296/0.001296, allocations: 107.4 kB / 17.07 MB, free: 5.84 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.001316/0.001316, allocations: 191.8 kB / 20.03 MB, free: 2.949 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.453/1.453, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.094/1.094, allocations: 147.6 MB / 445.6 MB, free: 8.414 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.BooleanVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2753/0.2753, allocations: 56.38 kB / 0.6109 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.4273, allocations: 83.16 MB / 0.6921 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001942/0.4293, allocations: 0.6017 MB / 0.6927 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.431, allocations: 1.113 MB / 0.6938 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.401e-05/0.4311, allocations: 5.625 kB / 0.6938 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.4313, allocations: 3.984 kB / 0.6938 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.4314, allocations: 5.156 kB / 0.6938 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.432, allocations: 128.2 kB / 0.6939 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.4323, allocations: 206 kB / 0.6941 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.4325, allocations: 17.8 kB / 0.6941 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.4326, allocations: 75.86 kB / 0.6942 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.4328, allocations: 75.92 kB / 0.6943 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.4329, allocations: 17.28 kB / 0.6943 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.433, allocations: 27.23 kB / 0.6943 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.4331, allocations: 26.91 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.4332, allocations: 67.2 kB / 0.6944 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.4335, allocations: 201.5 kB / 0.6946 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4336, allocations: 0 / 0.6946 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4336, allocations: 1.375 kB / 0.6946 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4336, allocations: 0 / 0.6946 GB, free: 11.53 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007195/0.4343, allocations: 455.3 kB / 0.695 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4344, allocations: 13.03 kB / 0.695 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.4344, allocations: 40.7 kB / 0.6951 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.131e-05/0.4345, allocations: 13.98 kB / 0.6951 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.4348, allocations: 213.6 kB / 0.6953 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.4348, allocations: 5.781 kB / 0.6953 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.4348, allocations: 17.66 kB / 0.6953 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.4351, allocations: 97.92 kB / 0.6954 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4351, allocations: 3.938 kB / 0.6954 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4351, allocations: 4.938 kB / 0.6954 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4351, allocations: 0.9375 kB / 0.6954 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.608e-05/0.4352, allocations: 42.91 kB / 0.6955 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.4358, allocations: 495.6 kB / 0.6959 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.804e-05/0.4359, allocations: 53.11 kB / 0.696 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.436, allocations: 31.58 kB / 0.696 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.436, allocations: 0 / 0.696 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.4362, allocations: 116.2 kB / 0.6961 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.041e-06/0.4362, allocations: 5.5 kB / 0.6961 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0003049/0.4365, allocations: 136.7 kB / 0.6963 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.4365, allocations: 82.39 kB / 0.6963 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.4367, allocations: 143.3 kB / 0.6965 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.4367, allocations: 33.83 kB / 0.6965 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.4368, allocations: 95.09 kB / 0.6966 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.4369, allocations: 10.75 kB / 0.6966 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.437, allocations: 52.5 kB / 0.6967 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4372, allocations: 316.4 kB / 0.697 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.4374, allocations: 130.7 kB / 0.6971 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.4377, allocations: 159.4 kB / 0.6972 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.4381, allocations: 234.4 kB / 0.6975 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4381, allocations: 0 / 0.6975 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006516/0.4387, allocations: 377.6 kB / 0.6978 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.558e-05/0.4388, allocations: 65.02 kB / 0.6979 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4388, allocations: 1.375 kB / 0.6979 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.4389, allocations: 2.75 kB / 0.6979 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.426e-05/0.4389, allocations: 5.375 kB / 0.6979 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4389, allocations: 2.938 kB / 0.6979 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.4393, allocations: 76.45 kB / 0.698 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.4394, allocations: 14.33 kB / 0.698 GB, free: 8.52 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001563/0.4395, allocations: 137 kB / 0.6981 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.4396, allocations: 7.172 kB / 0.6981 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.4396, allocations: 6.938 kB / 0.6981 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4396, allocations: 5.312 kB / 0.6981 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4397, allocations: 0 / 0.6981 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4397, allocations: 5.25 kB / 0.6981 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.4399, allocations: 184.3 kB / 0.6983 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4399, allocations: 0 / 0.6983 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.4399, allocations: 6.703 kB / 0.6983 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4399, allocations: 4 kB / 0.6983 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4399, allocations: 2.344 kB / 0.6983 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4399, allocations: 3.938 kB / 0.6983 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4399, allocations: 1.031 kB / 0.6983 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.4402, allocations: 141.3 kB / 0.6985 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.4402, allocations: 84.06 kB / 0.6985 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.4402, allocations: 1 kB / 0.6985 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.162e-05/0.4403, allocations: 1.188 kB / 0.6985 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.4403, allocations: 14.2 kB / 0.6986 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.4403, allocations: 2.844 kB / 0.6986 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.091e-05/0.4404, allocations: 96.73 kB / 0.6987 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4404, allocations: 4 kB / 0.6987 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002565/0.4407, allocations: 49.52 kB / 0.6987 GB, free: 7.805 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000569/0.4413, allocations: 0.6679 MB / 0.6994 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004879/0.4418, allocations: 326.6 kB / 0.6997 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4418, allocations: 0 / 0.6997 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.4419, allocations: 39.95 kB / 0.6997 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.4421, allocations: 20.8 kB / 0.6997 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.4449, allocations: 2.152 MB / 0.7018 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.4453, allocations: 0.7118 MB / 0.7025 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.326e-05/0.4453, allocations: 8 kB / 0.7025 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.4454, allocations: 19.42 kB / 0.7026 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.4454, allocations: 0 / 0.7026 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.4696, allocations: 3.483 MB / 0.706 GB, free: 320 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/8.654, allocations: 8.766 kB / 0.706 GB, free: 316 kB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.094205358996987] Failed to read output from testmodel.py, exit status != 0: 8.720402701059356 8.734010127 8.297836778 Calling exit ...