Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.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.00179/0.00179, allocations: 110.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.001509/0.001509, 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.47/1.47, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.11/1.11, allocations: 147.6 MB / 445.6 MB, free: 8.293 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.Nand,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2793/0.2793, allocations: 57.52 kB / 0.6109 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.4407, allocations: 83.16 MB / 0.6921 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001985/0.4427, allocations: 0.6369 MB / 0.6927 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.4443, allocations: 1.185 MB / 0.6939 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.4444, allocations: 0 / 0.6939 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.4444, allocations: 4.969 kB / 0.6939 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.4445, allocations: 12.88 kB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000702/0.4452, allocations: 213.4 kB / 0.6941 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000268/0.4455, allocations: 192 kB / 0.6943 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.676e-05/0.4456, allocations: 10.03 kB / 0.6943 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.4457, allocations: 64.02 kB / 0.6944 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.4459, allocations: 59.03 kB / 0.6944 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.446, allocations: 15.12 kB / 0.6944 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.151e-05/0.446, allocations: 29.95 kB / 0.6945 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.4461, allocations: 15.48 kB / 0.6945 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.395e-05/0.4462, allocations: 53.84 kB / 0.6945 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.4465, allocations: 161.2 kB / 0.6947 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4465, allocations: 0 / 0.6947 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4465, allocations: 1.344 kB / 0.6947 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.4465, allocations: 0 / 0.6947 GB, free: 11.46 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.0006806/0.4472, allocations: 433 kB / 0.6951 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4472, allocations: 9.625 kB / 0.6951 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.4473, allocations: 30.75 kB / 0.6951 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.4473, allocations: 13.14 kB / 0.6951 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.4475, allocations: 171 kB / 0.6953 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.4475, allocations: 8.5 kB / 0.6953 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.4476, allocations: 16.61 kB / 0.6953 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.4477, allocations: 47.81 kB / 0.6954 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.4477, allocations: 5.312 kB / 0.6954 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.4477, allocations: 3.938 kB / 0.6954 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4477, allocations: 1.375 kB / 0.6954 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.859e-05/0.4478, allocations: 18.86 kB / 0.6954 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.4483, allocations: 347.1 kB / 0.6957 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.4484, allocations: 36.2 kB / 0.6958 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.4485, allocations: 18.38 kB / 0.6958 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.4485, allocations: 1.375 kB / 0.6958 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.4487, allocations: 76 kB / 0.6959 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.4487, allocations: 0 / 0.6959 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.000277/0.449, allocations: 108.6 kB / 0.696 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.4491, allocations: 60.72 kB / 0.696 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.4492, allocations: 126.1 kB / 0.6961 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.4492, allocations: 29.83 kB / 0.6962 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.4493, allocations: 89.64 kB / 0.6963 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.4493, allocations: 13.28 kB / 0.6963 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.4494, allocations: 49.06 kB / 0.6963 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4496, allocations: 320.1 kB / 0.6966 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.4498, allocations: 59.59 kB / 0.6967 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.4499, allocations: 102.6 kB / 0.6968 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.4502, allocations: 151.5 kB / 0.6969 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.4502, allocations: 9.828 kB / 0.6969 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000431/0.4506, allocations: 265 kB / 0.6972 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/0.4507, allocations: 69.73 kB / 0.6973 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4507, allocations: 1 kB / 0.6973 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.4508, allocations: 1.656 kB / 0.6973 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.636e-05/0.4508, allocations: 14.48 kB / 0.6973 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.4508, allocations: 5.312 kB / 0.6973 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.4512, allocations: 56.5 kB / 0.6973 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.4512, allocations: 8.875 kB / 0.6973 GB, free: 8.934 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,nand1.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.0001244/0.4513, allocations: 125.9 kB / 0.6975 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.4513, allocations: 7.516 kB / 0.6975 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.4514, allocations: 9.812 kB / 0.6975 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4514, allocations: 1.344 kB / 0.6975 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4514, allocations: 0 / 0.6975 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.4514, allocations: 0 / 0.6975 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.4516, allocations: 184.5 kB / 0.6977 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4516, allocations: 5 kB / 0.6977 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-06/0.4516, allocations: 1.312 kB / 0.6977 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4516, allocations: 0 / 0.6977 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.4516, allocations: 1.281 kB / 0.6977 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4516, allocations: 1.188 kB / 0.6977 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4516, allocations: 0 / 0.6977 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.4518, allocations: 112.8 kB / 0.6978 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.4519, allocations: 86.28 kB / 0.6979 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.4519, allocations: 5.391 kB / 0.6979 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.4519, allocations: 1.469 kB / 0.6979 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.452, allocations: 6.766 kB / 0.6979 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.452, allocations: 14.86 kB / 0.6979 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.965e-05/0.4521, allocations: 90.88 kB / 0.698 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4521, allocations: 0 / 0.698 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002366/0.4523, allocations: 30.91 kB / 0.698 GB, free: 8.27 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,nand1.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.0005723/0.4529, allocations: 0.6543 MB / 0.6986 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004094/0.4533, allocations: 243.5 kB / 0.6989 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4533, allocations: 1.562 kB / 0.6989 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.256e-05/0.4534, allocations: 35.14 kB / 0.6989 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.4537, allocations: 16.61 kB / 0.6989 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.4559, allocations: 1.704 MB / 0.7006 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4563, allocations: 0.692 MB / 0.7013 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.4563, allocations: 7.984 kB / 0.7013 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.4564, allocations: 19.44 kB / 0.7013 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.4564, allocations: 0 / 0.7013 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.4813, allocations: 2.868 MB / 0.7041 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.398, allocations: 5.938 kB / 0.7041 GB, free: 2.215 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.105961123015732] Failed to read output from testmodel.py, exit status != 0: 8.469689073972404 8.491508719 8.041167903 Calling exit ...