Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.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.001324/0.001324, allocations: 113.6 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.001413/0.001413, allocations: 190.8 kB / 20.03 MB, free: 3.059 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.527/1.527, allocations: 222.9 MB / 245.7 MB, free: 4.23 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.144/1.144, allocations: 147.6 MB / 445.5 MB, free: 8.449 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.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.3631/0.3631, allocations: 58.39 kB / 0.6109 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.5416, allocations: 83.14 MB / 0.6921 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.And): time 0.001977/0.5437, allocations: 0.6385 MB / 0.6927 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.5456, allocations: 1.172 MB / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.5457, allocations: 5.219 kB / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.524e-05/0.5457, allocations: 3.938 kB / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.683e-05/0.5458, allocations: 18.12 kB / 0.6939 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008056/0.5466, allocations: 214.2 kB / 0.6941 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.5469, allocations: 185.2 kB / 0.6943 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.547, allocations: 22.47 kB / 0.6943 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.5471, allocations: 63.67 kB / 0.6944 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.5473, allocations: 61 kB / 0.6944 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.5474, allocations: 14.03 kB / 0.6944 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.5475, allocations: 28.61 kB / 0.6945 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.5475, allocations: 19.98 kB / 0.6945 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.921e-05/0.5476, allocations: 53.77 kB / 0.6945 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.5479, allocations: 148.8 kB / 0.6947 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5479, allocations: 1.375 kB / 0.6947 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.757e-06/0.5479, allocations: 3.984 kB / 0.6947 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.944e-06/0.5479, allocations: 4 kB / 0.6947 GB, free: 11.49 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.0006498/0.5485, allocations: 429.1 kB / 0.6951 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.5486, allocations: 9.625 kB / 0.6951 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.5487, allocations: 34.73 kB / 0.6951 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.5487, allocations: 13.14 kB / 0.6951 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.5489, allocations: 171 kB / 0.6953 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.5489, allocations: 8.5 kB / 0.6953 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.549, allocations: 10 kB / 0.6953 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.5491, allocations: 54.42 kB / 0.6954 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5491, allocations: 5.312 kB / 0.6954 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.5492, allocations: 4 kB / 0.6954 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5492, allocations: 1.375 kB / 0.6954 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.191e-05/0.5492, allocations: 10.88 kB / 0.6954 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.5498, allocations: 347.1 kB / 0.6957 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.529e-05/0.5499, allocations: 39.97 kB / 0.6958 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.5499, allocations: 15.58 kB / 0.6958 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.5499, allocations: 4 kB / 0.6958 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.5501, allocations: 76.23 kB / 0.6959 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.5501, allocations: 0 / 0.6959 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.000318/0.5505, allocations: 111.9 kB / 0.696 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.5505, allocations: 52.59 kB / 0.696 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.5507, allocations: 122.7 kB / 0.6961 GB, free: 10 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.5507, allocations: 33.64 kB / 0.6962 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.5508, allocations: 97.44 kB / 0.6963 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.5509, allocations: 14.66 kB / 0.6963 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.551, allocations: 47.66 kB / 0.6963 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.5512, allocations: 321.9 kB / 0.6966 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.5513, allocations: 58.41 kB / 0.6967 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.5515, allocations: 104.4 kB / 0.6968 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.5518, allocations: 152.5 kB / 0.6969 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5518, allocations: 0 / 0.6969 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005034/0.5523, allocations: 258.9 kB / 0.6972 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.391e-05/0.5524, allocations: 76.8 kB / 0.6972 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.5524, allocations: 1.312 kB / 0.6972 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.5524, allocations: 1.875 kB / 0.6972 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.219e-05/0.5525, allocations: 10.91 kB / 0.6973 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.5525, allocations: 1.156 kB / 0.6973 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.5529, allocations: 51.62 kB / 0.6973 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.5529, allocations: 14.14 kB / 0.6973 GB, free: 8.98 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.0001271/0.5531, allocations: 127.3 kB / 0.6974 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.5531, allocations: 14.69 kB / 0.6975 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.5531, allocations: 7.031 kB / 0.6975 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5531, allocations: 0 / 0.6975 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5531, allocations: 8.844 kB / 0.6975 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5532, allocations: 0 / 0.6975 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.5533, allocations: 181.2 kB / 0.6976 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5533, allocations: 0 / 0.6976 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.325e-05/0.5534, allocations: 10.45 kB / 0.6977 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5534, allocations: 0 / 0.6977 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.5534, allocations: 1.781 kB / 0.6977 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5534, allocations: 0 / 0.6977 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5534, allocations: 3.984 kB / 0.6977 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.5536, allocations: 112 kB / 0.6978 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.5536, allocations: 82.84 kB / 0.6978 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.5536, allocations: 1.594 kB / 0.6979 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/0.5537, allocations: 5.375 kB / 0.6979 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.5537, allocations: 6.672 kB / 0.6979 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.5537, allocations: 6.469 kB / 0.6979 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.185e-05/0.5538, allocations: 94.89 kB / 0.698 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5538, allocations: 3.938 kB / 0.698 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002473/0.5541, allocations: 31.06 kB / 0.698 GB, free: 8.305 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0006861/0.5548, allocations: 0.6609 MB / 0.6986 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004227/0.5552, allocations: 241 kB / 0.6989 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5552, allocations: 1.375 kB / 0.6989 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.043e-05/0.5553, allocations: 31.05 kB / 0.6989 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.5555, allocations: 12.23 kB / 0.6989 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.5579, allocations: 1.713 MB / 0.7006 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.5583, allocations: 0.6957 MB / 0.7013 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.36e-05/0.5583, allocations: 4 kB / 0.7013 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.5584, allocations: 23.42 kB / 0.7013 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.5584, allocations: 0 / 0.7013 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.5834, allocations: 2.862 MB / 0.7041 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.451, allocations: 7.547 kB / 0.7041 GB, free: 2.273 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.10420012800023] Failed to read output from testmodel.py, exit status != 0: 8.522547887871042 8.54184438 7.990529002 Calling exit ...