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.001478/0.001478, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001709/0.001709, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.501/1.501, 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 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 2.983/2.983, allocations: 0.49 GB / 0.7923 GB, free: 1.375 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.002319/0.002319, allocations: 71.88 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.086, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001846/1.088, allocations: 0.6534 MB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001484/1.089, allocations: 1.216 MB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/1.089, allocations: 0 / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/1.089, allocations: 7.312 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.868e-05/1.089, allocations: 14.77 kB / 1.323 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/1.09, allocations: 216.9 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000227/1.09, allocations: 168.1 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/1.09, allocations: 9.781 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.935e-05/1.09, allocations: 67.7 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/1.09, allocations: 71.77 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/1.091, allocations: 14 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.244e-05/1.091, allocations: 25.11 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/1.091, allocations: 10.75 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.21e-05/1.091, allocations: 56.78 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/1.091, allocations: 155.3 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.091, allocations: 0 / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.973e-06/1.091, allocations: 0 / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.762e-06/1.091, allocations: 0 / 1.324 GB, free: 23.12 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.0005353/1.091, allocations: 441.4 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.091, allocations: 12.45 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.138e-05/1.092, allocations: 6.844 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.146e-05/1.092, allocations: 34.75 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/1.092, allocations: 8.812 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.376e-05/1.092, allocations: 178.7 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/1.092, allocations: 8.844 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/1.092, allocations: 9.219 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/1.092, allocations: 53.39 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/1.092, allocations: 0 / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/1.092, allocations: 0 / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.092, allocations: 2.75 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.772e-05/1.092, allocations: 13.81 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/1.092, allocations: 358.6 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.388e-05/1.092, allocations: 32.39 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/1.092, allocations: 16.02 kB / 1.325 GB, free: 22.01 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/1.092, allocations: 3.938 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/1.093, allocations: 85.05 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/1.093, allocations: 0 / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002473/1.093, allocations: 101.3 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/1.093, allocations: 62.05 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.054e-05/1.093, allocations: 121.8 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/1.093, allocations: 32.2 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/1.093, allocations: 89.55 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/1.093, allocations: 18.02 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/1.093, allocations: 47.52 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/1.093, allocations: 322.2 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/1.093, allocations: 61.58 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/1.094, allocations: 93.48 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/1.094, allocations: 156 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.094, allocations: 4 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004158/1.094, allocations: 263.4 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/1.094, allocations: 68.91 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.094, allocations: 0 / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.094, allocations: 2.562 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.654e-05/1.094, allocations: 6.438 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.094, allocations: 2.562 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/1.095, allocations: 64.3 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/1.095, allocations: 11.98 kB / 1.327 GB, free: 20.78 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 8.16e-05/1.095, allocations: 123.5 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/1.095, allocations: 2.5 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/1.095, allocations: 8.375 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.095, allocations: 6.219 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.095, allocations: 4 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/1.095, allocations: 0.5312 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/1.095, allocations: 187.3 kB / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.095, allocations: 0 / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-06/1.095, allocations: 0 / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.095, allocations: 2.906 kB / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/1.095, allocations: 7.875 kB / 1.327 GB, free: 20.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.095, allocations: 0 / 1.327 GB, free: 20.42 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.095, allocations: 3.938 kB / 1.327 GB, free: 20.42 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/1.095, allocations: 114.3 kB / 1.327 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/1.095, allocations: 83.88 kB / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/1.095, allocations: 0 / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/1.095, allocations: 6.844 kB / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/1.095, allocations: 9.969 kB / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/1.095, allocations: 2.875 kB / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.846e-05/1.095, allocations: 92.34 kB / 1.327 GB, free: 20.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.095, allocations: 2.844 kB / 1.327 GB, free: 20.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002446/1.095, allocations: 37.75 kB / 1.327 GB, free: 20.13 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.0004286/1.096, allocations: 0.653 MB / 1.328 GB, free: 19.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003249/1.096, allocations: 220.3 kB / 1.328 GB, free: 19.35 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.096, allocations: 0 / 1.328 GB, free: 19.35 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.335e-05/1.096, allocations: 21.33 kB / 1.328 GB, free: 19.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/1.096, allocations: 22.8 kB / 1.328 GB, free: 19.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/1.099, allocations: 1.72 MB / 1.33 GB, free: 17.9 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/1.099, allocations: 0.6868 MB / 1.331 GB, free: 17.2 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.166e-05/1.099, allocations: 3.844 kB / 1.331 GB, free: 17.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/1.099, allocations: 23.41 kB / 1.331 GB, free: 17.18 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/1.099, allocations: 0 / 1.331 GB, free: 17.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/1.121, allocations: 2.933 MB / 1.334 GB, free: 16.69 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/9.735, allocations: 14.98 kB / 1.334 GB, free: 16.68 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.1390521620051] Failed to read output from testmodel.py, exit status != 0: 9.863367799960542 9.88701466 8.791637578 Calling exit ...