Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001848/0.001848, allocations: 118.9 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.002186/0.002186, allocations: 211.3 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.006/3.006, allocations: 0.5003 GB / 0.8026 GB, free: 6.668 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_latest_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.001993/0.001993, allocations: 63.91 kB / 1.165 GB, free: 404 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.071, allocations: 178.9 MB / 1.34 GB, free: 16.34 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001857/1.073, allocations: 0.6507 MB / 1.341 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001453/1.075, allocations: 1.223 MB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/1.075, allocations: 0 / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/1.075, allocations: 5.719 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.094e-05/1.075, allocations: 11.3 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006166/1.075, allocations: 216.6 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/1.076, allocations: 178.1 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/1.076, allocations: 9.469 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/1.076, allocations: 67.84 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/1.076, allocations: 66.86 kB / 1.343 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/1.076, allocations: 14.38 kB / 1.343 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.031e-05/1.076, allocations: 29.28 kB / 1.343 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/1.076, allocations: 12.31 kB / 1.343 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/1.076, allocations: 57.2 kB / 1.343 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/1.077, allocations: 154.1 kB / 1.343 GB, free: 14.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.077, allocations: 0 / 1.343 GB, free: 14.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.482e-06/1.077, allocations: 0 / 1.343 GB, free: 14.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.02e-06/1.077, allocations: 5.219 kB / 1.343 GB, free: 14.69 MB / 1.061 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.0004784/1.077, allocations: 439.3 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/1.077, allocations: 9.375 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.696e-05/1.077, allocations: 2.062 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.79e-05/1.077, allocations: 32.2 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/1.077, allocations: 13.45 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.621e-05/1.077, allocations: 172.2 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/1.077, allocations: 5.875 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/1.077, allocations: 13.88 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/1.077, allocations: 53.09 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/1.077, allocations: 0.6562 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/1.077, allocations: 0 / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.077, allocations: 1.656 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.244e-05/1.077, allocations: 17.48 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/1.078, allocations: 354.5 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.611e-05/1.078, allocations: 37.62 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/1.078, allocations: 10.81 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/1.078, allocations: 1.781 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/1.078, allocations: 88.16 kB / 1.344 GB, free: 13.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/1.078, allocations: 1.781 kB / 1.344 GB, free: 13.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002414/1.078, allocations: 103.3 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/1.078, allocations: 53.34 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/1.078, allocations: 123.8 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/1.079, allocations: 33.77 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/1.079, allocations: 99.03 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/1.079, allocations: 12.11 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.384e-05/1.079, allocations: 47.64 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.97e-05/1.079, allocations: 320.3 kB / 1.345 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/1.079, allocations: 63.16 kB / 1.345 GB, free: 12.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/1.079, allocations: 97.17 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/1.079, allocations: 153.6 kB / 1.345 GB, free: 12.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.079, allocations: 1.375 kB / 1.345 GB, free: 12.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003941/1.08, allocations: 269.2 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/1.08, allocations: 68.5 kB / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.08, allocations: 1.375 kB / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/1.08, allocations: 1.984 kB / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.059e-05/1.08, allocations: 5.875 kB / 1.345 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.08, allocations: 3.312 kB / 1.345 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/1.08, allocations: 59.73 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/1.08, allocations: 18.88 kB / 1.345 GB, free: 12.35 MB / 1.061 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 7.393e-05/1.08, allocations: 124.5 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/1.08, allocations: 7.688 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/1.08, allocations: 7.016 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/1.08, allocations: 0 / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.08, allocations: 1.375 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.08, allocations: 0.5156 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.791e-05/1.08, allocations: 186.3 kB / 1.346 GB, free: 12.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.08, allocations: 6.078 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-06/1.08, allocations: 2.031 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/1.08, allocations: 0 / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/1.08, allocations: 5.922 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.08, allocations: 0.6562 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.08, allocations: 1.375 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/1.08, allocations: 110.3 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/1.08, allocations: 84.59 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/1.08, allocations: 6.422 kB / 1.346 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/1.08, allocations: 0.7969 kB / 1.346 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/1.08, allocations: 10.05 kB / 1.346 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/1.081, allocations: 3.016 kB / 1.346 GB, free: 11.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.141e-05/1.081, allocations: 93.42 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.081, allocations: 0 / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002394/1.081, allocations: 35.42 kB / 1.346 GB, free: 11.72 MB / 1.061 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.0003482/1.081, allocations: 0.6562 MB / 1.347 GB, free: 11.1 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003114/1.081, allocations: 215 kB / 1.347 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.081, allocations: 1.375 kB / 1.347 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.207e-05/1.081, allocations: 19.88 kB / 1.347 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/1.082, allocations: 25.84 kB / 1.347 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/1.083, allocations: 1.717 MB / 1.349 GB, free: 9.488 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/1.083, allocations: 0.689 MB / 1.349 GB, free: 8.789 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.914e-05/1.083, allocations: 5.562 kB / 1.349 GB, free: 8.789 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/1.084, allocations: 16.88 kB / 1.349 GB, free: 8.777 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/1.084, allocations: 0 / 1.349 GB, free: 8.777 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/1.104, allocations: 2.953 MB / 1.352 GB, free: 8.258 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.531/9.635, allocations: 3.828 kB / 1.352 GB, free: 8.258 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.158462803985458] Failed to read output from testmodel.py, exit status != 0: 9.762158237979747 9.775173504 8.695728665 Calling exit ...