Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001352/0.001353, allocations: 106.2 kB / 17.07 MB, free: 5.965 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.001433/0.001433, allocations: 193.2 kB / 20.03 MB, free: 3.035 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.462/1.462, allocations: 222.9 MB / 245.7 MB, free: 4.191 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.099/1.099, allocations: 147.6 MB / 445.6 MB, free: 8.383 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.BooleanScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2559/0.2559, allocations: 63.5 kB / 0.6109 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.3872, 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.BooleanScalarReplicator): time 0.001678/0.3889, allocations: 0.6078 MB / 0.6927 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3903, allocations: 1.109 MB / 0.6938 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.3904, allocations: 5.625 kB / 0.6938 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.257e-05/0.3904, allocations: 4 kB / 0.6938 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.017e-05/0.3905, allocations: 7.922 kB / 0.6938 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.391, allocations: 121.6 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.3911, allocations: 97.52 kB / 0.694 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.19e-05/0.3912, allocations: 8.391 kB / 0.694 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.507e-05/0.3913, allocations: 35.75 kB / 0.694 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3914, allocations: 33.27 kB / 0.6941 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.3914, allocations: 7.094 kB / 0.6941 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.365e-05/0.3915, allocations: 26.61 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.3915, allocations: 7.984 kB / 0.6941 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.743e-05/0.3916, allocations: 37.62 kB / 0.6941 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.3918, allocations: 93.91 kB / 0.6942 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3918, allocations: 0 / 0.6942 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3918, allocations: 0 / 0.6942 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.3918, allocations: 0 / 0.6942 GB, free: 11.74 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.0004839/0.3923, allocations: 377.6 kB / 0.6946 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3923, allocations: 13.95 kB / 0.6946 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.3924, allocations: 30.75 kB / 0.6946 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.3924, allocations: 6.344 kB / 0.6946 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.3926, allocations: 182.9 kB / 0.6948 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3926, allocations: 10.42 kB / 0.6948 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.3927, allocations: 10.31 kB / 0.6948 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.3928, allocations: 45.59 kB / 0.6949 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3928, allocations: 3.938 kB / 0.6949 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.3928, allocations: 1.969 kB / 0.6949 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3928, allocations: 0 / 0.6949 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.313e-05/0.3929, allocations: 9.875 kB / 0.6949 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.3933, allocations: 303.4 kB / 0.6952 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/0.3933, allocations: 25.48 kB / 0.6952 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.3933, allocations: 8.047 kB / 0.6952 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.3934, allocations: 0 / 0.6952 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.3935, allocations: 57.8 kB / 0.6953 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.3935, allocations: 0 / 0.6953 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000175/0.3937, allocations: 68.3 kB / 0.6953 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.3937, allocations: 51.41 kB / 0.6954 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.269e-05/0.3938, allocations: 114.2 kB / 0.6955 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3939, allocations: 39.83 kB / 0.6955 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.3939, allocations: 87.66 kB / 0.6956 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.3939, allocations: 13.17 kB / 0.6956 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.646e-05/0.394, allocations: 33.83 kB / 0.6957 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3941, allocations: 316 kB / 0.696 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.3942, allocations: 27.45 kB / 0.696 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.687e-05/0.3943, allocations: 59.16 kB / 0.696 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.3944, allocations: 75.75 kB / 0.6961 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3944, allocations: 1.656 kB / 0.6961 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002475/0.3947, allocations: 145.7 kB / 0.6963 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.3947, allocations: 36.61 kB / 0.6963 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3948, allocations: 1.312 kB / 0.6963 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3948, allocations: 4.094 kB / 0.6963 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.378e-05/0.3948, allocations: 1.344 kB / 0.6963 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3948, allocations: 1.406 kB / 0.6963 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.395, allocations: 24.34 kB / 0.6963 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.395, allocations: 8.109 kB / 0.6963 GB, free: 9.598 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.695e-05/0.3951, allocations: 119.3 kB / 0.6964 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.3952, allocations: 10.64 kB / 0.6965 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.3952, allocations: 7.906 kB / 0.6965 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3952, allocations: 1.375 kB / 0.6965 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3952, allocations: 0 / 0.6965 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3952, allocations: 5.359 kB / 0.6965 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.3954, allocations: 164.5 kB / 0.6966 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3954, allocations: 0 / 0.6966 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-06/0.3954, allocations: 1.375 kB / 0.6966 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3954, allocations: 0 / 0.6966 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.3954, allocations: 1.375 kB / 0.6966 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3954, allocations: 3.984 kB / 0.6966 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3954, allocations: 1.375 kB / 0.6966 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.3955, allocations: 81.56 kB / 0.6967 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.3956, allocations: 78.48 kB / 0.6968 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.3956, allocations: 1.375 kB / 0.6968 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.31e-05/0.3956, allocations: 0 / 0.6968 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.3956, allocations: 5.359 kB / 0.6968 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3956, allocations: 1.688 kB / 0.6968 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.3957, allocations: 96.66 kB / 0.6969 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3957, allocations: 4 kB / 0.6969 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000216/0.3959, allocations: 23.02 kB / 0.6969 GB, free: 8.961 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004291/0.3964, allocations: 0.6135 MB / 0.6975 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.3966, allocations: 127 kB / 0.6976 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3966, allocations: 4.188 kB / 0.6976 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.3966, allocations: 14.86 kB / 0.6977 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.3968, allocations: 8.75 kB / 0.6977 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.3983, allocations: 1.356 MB / 0.699 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.3986, allocations: 0.6848 MB / 0.6997 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.911e-05/0.3987, allocations: 5.375 kB / 0.6997 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.3987, allocations: 18.17 kB / 0.6997 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.3987, allocations: 0 / 0.6997 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.4204, allocations: 1.981 MB / 0.7016 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.506, allocations: 9.5 kB / 0.7016 GB, free: 4.816 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.955306138843298] Failed to read output from testmodel.py, exit status != 0: 8.574060095008463 8.600972981 8.203873444 Calling exit ...