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.00212/0.00212, allocations: 110.1 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.002555/0.002555, allocations: 214.4 kB / 23.04 MB, free: 5.078 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.309/3.309, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 MB / 0.6231 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.002001/0.002001, allocations: 67.03 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3511, allocations: 179 MB / 1.345 GB, free: 444 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001931/0.3531, allocations: 0.6567 MB / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.3548, allocations: 1.226 MB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.3548, allocations: 0 / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.3548, allocations: 3.938 kB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.093e-05/0.3549, allocations: 19.84 kB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006265/0.3555, allocations: 210.6 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.3558, allocations: 175.6 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.205e-05/0.3559, allocations: 12 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.356, allocations: 71.88 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.3561, allocations: 67.84 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.3561, allocations: 12 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8e-05/0.3562, allocations: 31.98 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.3562, allocations: 11.94 kB / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.3563, allocations: 51.89 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.3565, allocations: 155.8 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3565, allocations: 4 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3565, allocations: 0 / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3565, allocations: 0 / 1.348 GB, free: 13.73 MB / 1.045 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.0005856/0.3571, allocations: 365.5 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3572, allocations: 8.031 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.062e-05/0.3572, allocations: 4.172 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.3572, allocations: 34.75 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.3573, allocations: 12.83 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.3574, allocations: 106.5 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3574, allocations: 8.375 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.3574, allocations: 16.38 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3576, allocations: 53.92 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3576, allocations: 0 / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3576, allocations: 0 / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3576, allocations: 4 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.321e-05/0.3576, allocations: 11.98 kB / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.3582, allocations: 331.7 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.251e-05/0.3582, allocations: 38.5 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.3583, allocations: 16.84 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.3583, allocations: 4 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.3585, allocations: 79.45 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/0.3585, allocations: 0 / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002587/0.3587, allocations: 101.6 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.3588, allocations: 59.41 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3589, allocations: 113.8 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.3589, allocations: 37.64 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.359, allocations: 100.1 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.359, allocations: 7.953 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.3591, allocations: 49.69 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3593, allocations: 322.8 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.3594, allocations: 59.97 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.3596, allocations: 92.25 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.3598, allocations: 156 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3598, allocations: 8 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004477/0.3602, allocations: 264.8 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.824e-05/0.3603, allocations: 68.95 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3603, allocations: 0 / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3603, allocations: 7.938 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.981e-05/0.3604, allocations: 4 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3604, allocations: 4 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.3607, allocations: 56.02 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.3607, allocations: 16.05 kB / 1.35 GB, free: 10.89 MB / 1.045 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.0001164/0.3609, allocations: 125.7 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.3609, allocations: 11.94 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.3609, allocations: 8.375 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3609, allocations: 0 / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3609, allocations: 4 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3609, allocations: 4 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.3611, allocations: 152.6 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3611, allocations: 0 / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-05/0.3611, allocations: 3.984 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3611, allocations: 0 / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3611, allocations: 0 / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3611, allocations: 4 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3611, allocations: 0 / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.3613, allocations: 113 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-06/0.3613, allocations: 7.953 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.3613, allocations: 0 / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.221e-05/0.3613, allocations: 4 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.3613, allocations: 3.984 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3613, allocations: 8 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.3614, allocations: 103.1 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3614, allocations: 0 / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002398/0.3617, allocations: 31.94 kB / 1.351 GB, free: 10.24 MB / 1.045 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.0005366/0.3622, allocations: 0.6518 MB / 1.352 GB, free: 9.562 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003617/0.3626, allocations: 222.7 kB / 1.352 GB, free: 9.32 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3626, allocations: 0 / 1.352 GB, free: 9.32 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.876e-05/0.3626, allocations: 19.94 kB / 1.352 GB, free: 9.301 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.3628, allocations: 21.78 kB / 1.352 GB, free: 9.281 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.3652, allocations: 1.722 MB / 1.354 GB, free: 7.438 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.3656, allocations: 0.6884 MB / 1.354 GB, free: 6.723 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.164e-05/0.3657, allocations: 11.77 kB / 1.354 GB, free: 6.711 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.3657, allocations: 15.44 kB / 1.354 GB, free: 6.695 MB / 1.045 GB Notification: Performance of SimCode: time 1.082e-06/0.3657, allocations: 0 / 1.354 GB, free: 6.695 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.3897, allocations: 3.053 MB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.74, allocations: 10.23 kB / 1.357 GB, free: 3.789 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.64778636698611] Failed to read output from testmodel.py, exit status != 0: 11.903247916023247 11.91853117 11.559021886 Calling exit ...