Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001744/0.001744, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.0021/0.0021, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.528/1.528, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.937/2.937, allocations: 476.7 MB / 0.7678 GB, free: 9.371 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_11_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.002224/0.002224, allocations: 63.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199/1.201, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.003887/1.205, allocations: 0.6605 MB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002272/1.207, allocations: 1.22 MB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/1.207, allocations: 1.062 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.191e-05/1.207, allocations: 4.594 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.695e-05/1.207, allocations: 16.11 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009162/1.208, allocations: 217 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/1.209, allocations: 170.5 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/1.209, allocations: 9.438 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/1.209, allocations: 67.95 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/1.209, allocations: 61.83 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/1.209, allocations: 19.62 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/1.209, allocations: 28.2 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/1.209, allocations: 17.41 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/1.209, allocations: 53.12 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004734/1.21, allocations: 153.1 kB / 1.282 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/1.21, allocations: 1.203 kB / 1.282 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.504e-06/1.21, allocations: 0 / 1.282 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.268e-05/1.21, allocations: 0.5312 kB / 1.282 GB, free: 10.06 MB / 0.9981 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.0007533/1.211, allocations: 435.2 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/1.211, allocations: 9.562 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.703e-05/1.211, allocations: 1.219 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.325e-05/1.211, allocations: 36.88 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.788e-05/1.211, allocations: 8.984 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/1.211, allocations: 180.5 kB / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/1.211, allocations: 8.781 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/1.211, allocations: 9.891 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/1.211, allocations: 53.83 kB / 1.282 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.211, allocations: 0.5625 kB / 1.282 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/1.211, allocations: 5.203 kB / 1.282 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.211, allocations: 0.5625 kB / 1.282 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.91e-05/1.211, allocations: 14.08 kB / 1.282 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006988/1.212, allocations: 354.1 kB / 1.283 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/1.212, allocations: 37.19 kB / 1.283 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/1.212, allocations: 11.47 kB / 1.283 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/1.212, allocations: 1.25 kB / 1.283 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/1.212, allocations: 85.81 kB / 1.283 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/1.212, allocations: 0 / 1.283 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003109/1.213, allocations: 99.77 kB / 1.283 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/1.213, allocations: 57.59 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/1.213, allocations: 125.3 kB / 1.283 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/1.213, allocations: 29.64 kB / 1.283 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/1.213, allocations: 93.45 kB / 1.283 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/1.213, allocations: 11.78 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.213, allocations: 53 kB / 1.283 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.213, allocations: 322.6 kB / 1.284 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/1.214, allocations: 60.58 kB / 1.284 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/1.214, allocations: 97.72 kB / 1.284 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/1.214, allocations: 159.4 kB / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.214, allocations: 0 / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005346/1.215, allocations: 269.1 kB / 1.284 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.68e-05/1.215, allocations: 70.25 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.215, allocations: 1.312 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/1.215, allocations: 2.328 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.162e-05/1.215, allocations: 2.875 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/1.215, allocations: 6.406 kB / 1.284 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/1.215, allocations: 51.95 kB / 1.284 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/1.215, allocations: 11.98 kB / 1.284 GB, free: 7.738 MB / 0.9981 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.0001376/1.215, allocations: 133.5 kB / 1.284 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/1.215, allocations: 7.125 kB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/1.215, allocations: 10.67 kB / 1.284 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/1.215, allocations: 1.125 kB / 1.284 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.215, allocations: 1.156 kB / 1.284 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/1.215, allocations: 4.734 kB / 1.284 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/1.216, allocations: 183.1 kB / 1.285 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.216, allocations: 0 / 1.285 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.304e-05/1.216, allocations: 5.938 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-06/1.216, allocations: 1.562 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/1.216, allocations: 2.438 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.216, allocations: 0 / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.216, allocations: 0.7031 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/1.216, allocations: 120 kB / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/1.216, allocations: 83.02 kB / 1.285 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/1.216, allocations: 1.859 kB / 1.285 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/1.216, allocations: 1.984 kB / 1.285 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/1.216, allocations: 9.828 kB / 1.285 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/1.216, allocations: 7.312 kB / 1.285 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.496e-05/1.216, allocations: 93.61 kB / 1.285 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.216, allocations: 4 kB / 1.285 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002452/1.216, allocations: 36.8 kB / 1.285 GB, free: 7.086 MB / 0.9981 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.0005662/1.217, allocations: 0.6565 MB / 1.286 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003878/1.217, allocations: 219.6 kB / 1.286 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.217, allocations: 5.562 kB / 1.286 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.442e-05/1.217, allocations: 19.03 kB / 1.286 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/1.217, allocations: 15.98 kB / 1.286 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/1.22, allocations: 1.718 MB / 1.287 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/1.22, allocations: 0.686 MB / 1.288 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.449e-05/1.22, allocations: 5.688 kB / 1.288 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/1.22, allocations: 16.41 kB / 1.288 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/1.22, allocations: 1.281 kB / 1.288 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/1.244, allocations: 2.946 MB / 1.291 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.543/9.787, allocations: 15 kB / 1.291 GB, free: 3.621 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.252110316010658] Failed to read output from testmodel.py, exit status != 0: 9.910633565974422 9.926075351 8.712874334 Calling exit ...