Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.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.0014/0.0014, allocations: 108.8 kB / 17.07 MB, free: 6.016 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.001678/0.001678, allocations: 190.8 kB / 20.02 MB, free: 3.082 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.489/1.489, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.114/1.114, allocations: 147.6 MB / 445.6 MB, free: 8.32 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.Logical.Validation.Timer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2411/0.2411, allocations: 61.19 kB / 0.6109 GB, free: 37.72 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.3906, allocations: 83.16 MB / 0.6921 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001889/0.3925, allocations: 0.7189 MB / 0.6928 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.3942, allocations: 1.247 MB / 0.694 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.3943, allocations: 5.656 kB / 0.694 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.3943, allocations: 11.86 kB / 0.6941 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.499e-05/0.3944, allocations: 17.27 kB / 0.6941 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.3951, allocations: 254.6 kB / 0.6943 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.3954, allocations: 255.8 kB / 0.6946 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.608e-05/0.3955, allocations: 24.23 kB / 0.6946 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.3956, allocations: 104.7 kB / 0.6947 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.3958, allocations: 97.23 kB / 0.6948 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.3958, allocations: 22 kB / 0.6948 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.3959, allocations: 38.23 kB / 0.6948 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.396, allocations: 26.8 kB / 0.6949 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3961, allocations: 92.61 kB / 0.6949 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.3964, allocations: 225 kB / 0.6952 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3964, allocations: 0 / 0.6952 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3964, allocations: 0 / 0.6952 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.3964, allocations: 1.375 kB / 0.6952 GB, free: 11.04 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007483/0.3972, allocations: 0.4976 MB / 0.6956 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3972, allocations: 9.625 kB / 0.6957 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.3973, allocations: 42.8 kB / 0.6957 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.3973, allocations: 15.89 kB / 0.6957 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.3979, allocations: 246.1 kB / 0.6959 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.398, allocations: 16.61 kB / 0.696 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.398, allocations: 20.88 kB / 0.696 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.3982, allocations: 140.2 kB / 0.6961 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3983, allocations: 5 kB / 0.6961 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3983, allocations: 1.125 kB / 0.6961 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3983, allocations: 2.312 kB / 0.6961 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.3984, allocations: 58.89 kB / 0.6962 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/0.3993, allocations: 0.5242 MB / 0.6967 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.3996, allocations: 154.8 kB / 0.6968 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3997, allocations: 70.06 kB / 0.6969 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.3997, allocations: 1.312 kB / 0.6969 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003749/0.4001, allocations: 203.2 kB / 0.6971 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.4001, allocations: 5.281 kB / 0.6971 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0005541/0.4006, allocations: 319.7 kB / 0.6974 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.4007, allocations: 89.55 kB / 0.6975 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4008, allocations: 129 kB / 0.6976 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.4009, allocations: 40.45 kB / 0.6977 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.401, allocations: 98.33 kB / 0.6978 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.401, allocations: 55.81 kB / 0.6978 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.4012, allocations: 70.67 kB / 0.6979 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4013, allocations: 331 kB / 0.6982 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.4015, allocations: 85.61 kB / 0.6983 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.4017, allocations: 151.9 kB / 0.6984 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.4021, allocations: 248.7 kB / 0.6987 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4021, allocations: 0 / 0.6987 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000613/0.4027, allocations: 363.9 kB / 0.699 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.578e-05/0.4028, allocations: 67.39 kB / 0.6991 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4028, allocations: 4 kB / 0.6991 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.4028, allocations: 4 kB / 0.6991 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.763e-05/0.403, allocations: 19.88 kB / 0.6991 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.403, allocations: 4 kB / 0.6991 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.4034, allocations: 75.98 kB / 0.6992 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.4034, allocations: 16 kB / 0.6992 GB, free: 7.359 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001548/0.4036, allocations: 149.9 kB / 0.6993 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.4036, allocations: 15.94 kB / 0.6993 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.4037, allocations: 12.5 kB / 0.6994 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4037, allocations: 11.94 kB / 0.6994 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4037, allocations: 3.938 kB / 0.6994 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.4037, allocations: 0 / 0.6994 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007341/0.4044, allocations: 0.6147 MB / 0.7 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4045, allocations: 0 / 0.7 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.4045, allocations: 11.94 kB / 0.7 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.4045, allocations: 3.938 kB / 0.7 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.4045, allocations: 7.984 kB / 0.7 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4045, allocations: 0 / 0.7 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.4046, allocations: 8 kB / 0.7 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/0.405, allocations: 414.6 kB / 0.7004 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.4051, allocations: 92.95 kB / 0.7005 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.4052, allocations: 19.92 kB / 0.7005 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.4053, allocations: 7.984 kB / 0.7005 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.654e-05/0.4054, allocations: 23.97 kB / 0.7005 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.4054, allocations: 19.98 kB / 0.7006 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.026e-05/0.4055, allocations: 95.2 kB / 0.7006 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4055, allocations: 0 / 0.7006 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003699/0.4059, allocations: 56 kB / 0.7007 GB, free: 5.707 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: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008815/0.4067, allocations: 0.9623 MB / 0.7016 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005492/0.4073, allocations: 354.5 kB / 0.702 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4073, allocations: 0 / 0.702 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.4075, allocations: 119.4 kB / 0.7021 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.4079, allocations: 30.3 kB / 0.7021 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.4108, allocations: 2.279 MB / 0.7043 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.4112, allocations: 0.7086 MB / 0.705 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.629e-05/0.4112, allocations: 17.66 kB / 0.705 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.4113, allocations: 39.36 kB / 0.7051 GB, free: 1 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.4113, allocations: 4 kB / 0.7051 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.4381, allocations: 4.079 MB / 0.7091 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.489, allocations: 7.969 kB / 0.7091 GB, free: 13 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.072103271028027] Failed to read output from testmodel.py, exit status != 0: 8.56170050194487 8.591977512 8.189959513 Calling exit ...