Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 98.08 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 217.1 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.181/3.181, allocations: 0.49 GB / 0.7959 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002957/0.002957, allocations: 66.41 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4444, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00207/0.4465, allocations: 0.6618 MB / 1.327 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.4487, allocations: 1.226 MB / 1.329 GB, free: 72 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.206e-05/0.4487, allocations: 4 kB / 1.329 GB, free: 68 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.796e-05/0.4488, allocations: 11.81 kB / 1.329 GB, free: 56 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.4489, allocations: 11.88 kB / 1.329 GB, free: 44 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008172/0.4497, allocations: 215.2 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.45, allocations: 171.8 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.4502, allocations: 19.98 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.4503, allocations: 63.91 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.4505, allocations: 63.78 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.4505, allocations: 16 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.4506, allocations: 31.98 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.4506, allocations: 19.91 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.4507, allocations: 51.91 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.451, allocations: 151.8 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.4511, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4511, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.4511, allocations: 4 kB / 1.329 GB, free: 15.26 MB / 1.029 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.0007715/0.4518, allocations: 365.5 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.4519, allocations: 12.03 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.048e-05/0.4519, allocations: 192 / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.452, allocations: 30.75 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.452, allocations: 8.938 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.4522, allocations: 122.4 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.4522, allocations: 4.375 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.4522, allocations: 8.375 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.4524, allocations: 58 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4524, allocations: 0 / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.4524, allocations: 0 / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4524, allocations: 0 / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.027e-05/0.4525, allocations: 15.98 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.4531, allocations: 319.8 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.4532, allocations: 38.52 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.4532, allocations: 20.94 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.4532, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.4535, allocations: 75.33 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.4535, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003107/0.4538, allocations: 121.7 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.4539, allocations: 55.34 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.454, allocations: 117.8 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.454, allocations: 33.7 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.4541, allocations: 92.14 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.4541, allocations: 11.91 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.4542, allocations: 49.69 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002451/0.4545, allocations: 322.8 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.4546, allocations: 55.97 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.4548, allocations: 100.2 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.4551, allocations: 163.6 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4551, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005121/0.4556, allocations: 261 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.667e-05/0.4557, allocations: 73.14 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4557, allocations: 4 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4557, allocations: 480 / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.602e-05/0.4557, allocations: 8.047 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4558, allocations: 4 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.4561, allocations: 51.89 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.4562, allocations: 15.98 kB / 1.332 GB, free: 12.42 MB / 1.029 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.0001487/0.4563, allocations: 142.1 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.4563, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.4563, allocations: 12.38 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4564, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4564, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4564, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.4565, allocations: 148.7 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4565, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/0.4566, allocations: 3.984 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.4566, allocations: 8 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.4566, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4566, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4566, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.4567, allocations: 120.9 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.4568, allocations: 7.953 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.4568, allocations: 3.984 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.226e-05/0.4568, allocations: 7.938 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.4569, allocations: 8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.4569, allocations: 3.984 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.643e-05/0.4569, allocations: 87.28 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4569, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002484/0.4572, allocations: 39.92 kB / 1.332 GB, free: 11.76 MB / 1.029 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.0006264/0.4578, allocations: 0.6436 MB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004429/0.4583, allocations: 218.7 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4583, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.415e-05/0.4583, allocations: 19.98 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.4586, allocations: 20.2 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.461, allocations: 1.725 MB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.4614, allocations: 0.6891 MB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.4614, allocations: 8 kB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.4614, allocations: 19.44 kB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of SimCode: time 7.22e-07/0.4614, allocations: 0 / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.4866, allocations: 3.054 MB / 1.339 GB, free: 5.336 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.73, allocations: 6 kB / 1.339 GB, free: 5.332 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.499939874978736] Failed to read output from testmodel.py, exit status != 0: 11.901441665017046 11.929641241 11.473335491 Calling exit ...