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.001387/0.001387, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001644/0.001644, allocations: 223.7 kB / 23.05 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.78/2.78, allocations: 476.7 MB / 0.7715 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] 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.002055/0.002055, allocations: 63.73 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2928, allocations: 169.9 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00185/0.2946, allocations: 0.6572 MB / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.2963, allocations: 1.219 MB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.2964, allocations: 0 / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.2964, allocations: 3.938 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.332e-05/0.2965, allocations: 23.84 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.2971, allocations: 221.5 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.2974, allocations: 167.8 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.2975, allocations: 11.98 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.2976, allocations: 63.89 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.2977, allocations: 63.84 kB / 1.287 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.2978, allocations: 20 kB / 1.287 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-05/0.2979, allocations: 31.92 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.2979, allocations: 11.94 kB / 1.287 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/0.298, allocations: 59.81 kB / 1.287 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.2982, allocations: 151.2 kB / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2982, allocations: 0 / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2982, allocations: 3.938 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2982, allocations: 0 / 1.287 GB, free: 9.035 MB / 0.9825 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.0005316/0.2987, allocations: 361.5 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2988, allocations: 12.03 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.882e-05/0.2988, allocations: 4.188 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.2988, allocations: 34.73 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.2989, allocations: 8.938 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.299, allocations: 114.5 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.299, allocations: 16.31 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.2991, allocations: 8.375 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.2992, allocations: 49.98 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2992, allocations: 0 / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2992, allocations: 4 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2992, allocations: 4 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.396e-05/0.2992, allocations: 19.94 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.2997, allocations: 323.8 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.934e-05/0.2998, allocations: 34.5 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.2998, allocations: 16.86 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.2999, allocations: 0 / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.3001, allocations: 87.41 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3001, allocations: 0 / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002507/0.3003, allocations: 109.5 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.3003, allocations: 51.41 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3005, allocations: 113.8 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.3005, allocations: 33.7 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.3006, allocations: 92.12 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.3006, allocations: 15.91 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3007, allocations: 49.69 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3009, allocations: 323.1 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.301, allocations: 59.97 kB / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.3012, allocations: 88.2 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.3014, allocations: 171.5 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3014, allocations: 0 / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004789/0.3019, allocations: 264.8 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.208e-05/0.3019, allocations: 67.39 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3019, allocations: 4 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.302, allocations: 4.125 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.206e-05/0.302, allocations: 4 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.302, allocations: 0 / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.3023, allocations: 51.89 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.3024, allocations: 11.98 kB / 1.289 GB, free: 6.199 MB / 0.9825 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.0001369/0.3025, allocations: 137.7 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.3025, allocations: 4 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.3025, allocations: 8.359 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3025, allocations: 4 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3026, allocations: 0 / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3026, allocations: 0 / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.3027, allocations: 152.7 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3027, allocations: 0 / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.3027, allocations: 7.922 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3027, allocations: 64 / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3027, allocations: 8 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3027, allocations: 4 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3027, allocations: 320 / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.3029, allocations: 120.9 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.3029, allocations: 3.953 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.303, allocations: 4 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.303, allocations: 96 / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.303, allocations: 11.92 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.303, allocations: 4 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.3031, allocations: 95.27 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3031, allocations: 0 / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002483/0.3033, allocations: 31.94 kB / 1.29 GB, free: 5.543 MB / 0.9825 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.0004931/0.3038, allocations: 0.6514 MB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.3042, allocations: 214.7 kB / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3042, allocations: 0 / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.835e-05/0.3042, allocations: 23.98 kB / 1.291 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.3044, allocations: 15.98 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.3065, allocations: 1.726 MB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3069, allocations: 0.6807 MB / 1.293 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.3069, allocations: 7.984 kB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.3069, allocations: 23.42 kB / 1.293 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of SimCode: time 5.72e-07/0.3069, allocations: 0 / 1.293 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.3306, allocations: 3.059 MB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.67, allocations: 6.844 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.222268267010804] Failed to read output from testmodel.py, exit status != 0: 12.361788843991235 11.857148816 11.55406934 Calling exit ...